sm6150-common: sepolicy: Bringup property_contexts for Android 13
Change-Id: I60070ba7658ce262be66ee3bdd0cb6cdcf9b8c49
This commit is contained in:
parent
187b64e74f
commit
6d2810da32
@ -139,6 +139,7 @@ TARGET_RELEASETOOLS_EXTENSIONS := $(COMMON_PATH)
|
|||||||
TARGET_SEPOLICY_DIR := msmsteppe
|
TARGET_SEPOLICY_DIR := msmsteppe
|
||||||
include device/qcom/sepolicy_vndr-legacy-um/SEPolicy.mk
|
include device/qcom/sepolicy_vndr-legacy-um/SEPolicy.mk
|
||||||
|
|
||||||
|
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/private
|
||||||
BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
|
BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
|
||||||
|
|
||||||
# Trust
|
# Trust
|
||||||
|
17
sepolicy/private/property_contexts
Normal file
17
sepolicy/private/property_contexts
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Camera
|
||||||
|
ro.camera.req.fmq.size u:object_r:exported_default_prop:s0
|
||||||
|
ro.camera.res.fmq.size u:object_r:exported_default_prop:s0
|
||||||
|
|
||||||
|
# Sensors
|
||||||
|
persist.sensor. u:object_r:persist_sensors_prop:s0
|
||||||
|
|
||||||
|
# Fingerprint
|
||||||
|
gf.debug. u:object_r:exported_default_prop:s0
|
||||||
|
|
||||||
|
# Xiaomi specific build properties
|
||||||
|
ro.boot.hwc u:object_r:exported_default_prop:s0
|
||||||
|
ro.boot.hwversion u:object_r:exported_default_prop:s0
|
||||||
|
ro.build.flavor u:object_r:exported_default_prop:s0
|
||||||
|
ro.cust.test u:object_r:exported_system_prop:s0
|
||||||
|
ro.miui. u:object_r:exported_system_prop:s0
|
||||||
|
ro.product.mod_device u:object_r:build_prop:s0
|
14
sepolicy/vendor/property_contexts
vendored
14
sepolicy/vendor/property_contexts
vendored
@ -6,11 +6,8 @@ camera.sensor.frontMain.fuseID u:object_r:vendor_camera_prop:s0
|
|||||||
camera.sensor.rearUltra.fuseID u:object_r:vendor_camera_prop:s0
|
camera.sensor.rearUltra.fuseID u:object_r:vendor_camera_prop:s0
|
||||||
camera.sensor.rearTele.fuseID u:object_r:vendor_camera_prop:s0
|
camera.sensor.rearTele.fuseID u:object_r:vendor_camera_prop:s0
|
||||||
persist.camera. u:object_r:vendor_camera_prop:s0
|
persist.camera. u:object_r:vendor_camera_prop:s0
|
||||||
ro.camera.req.fmq.size u:object_r:vendor_camera_prop:s0
|
|
||||||
ro.camera.res.fmq.size u:object_r:vendor_camera_prop:s0
|
|
||||||
|
|
||||||
# Fingerprint
|
# Fingerprint
|
||||||
gf.debug. u:object_r:vendor_fp_prop:s0
|
|
||||||
persist.vendor.sys.fp. u:object_r:vendor_fp_prop:s0
|
persist.vendor.sys.fp. u:object_r:vendor_fp_prop:s0
|
||||||
ro.boot.fpsensor u:object_r:vendor_fp_prop:s0
|
ro.boot.fpsensor u:object_r:vendor_fp_prop:s0
|
||||||
ro.hardware.fp u:object_r:vendor_fp_prop:s0
|
ro.hardware.fp u:object_r:vendor_fp_prop:s0
|
||||||
@ -20,9 +17,6 @@ vendor.fps_hal. u:object_r:vendor_fp_prop:s0
|
|||||||
# Power HAL
|
# Power HAL
|
||||||
vendor.powerhal. u:object_r:vendor_power_prop:s0
|
vendor.powerhal. u:object_r:vendor_power_prop:s0
|
||||||
|
|
||||||
# Sensors
|
|
||||||
persist.sensor. u:object_r:persist_sensors_prop:s0
|
|
||||||
|
|
||||||
# Telephony
|
# Telephony
|
||||||
ro.vendor.oem.imei u:object_r:vendor_deviceid_prop:s0
|
ro.vendor.oem.imei u:object_r:vendor_deviceid_prop:s0
|
||||||
ro.vendor.oem.meid u:object_r:vendor_deviceid_prop:s0
|
ro.vendor.oem.meid u:object_r:vendor_deviceid_prop:s0
|
||||||
@ -31,13 +25,5 @@ ro.vendor.oem.sno u:object_r:vendor_sno_prop:s0
|
|||||||
persist.vendor.radio.imei u:object_r:vendor_deviceid_prop:s0
|
persist.vendor.radio.imei u:object_r:vendor_deviceid_prop:s0
|
||||||
persist.vendor.radio.meid u:object_r:vendor_deviceid_prop:s0
|
persist.vendor.radio.meid u:object_r:vendor_deviceid_prop:s0
|
||||||
|
|
||||||
# Xiaomi specific build properties
|
|
||||||
ro.boot.hwc u:object_r:build_prop:s0
|
|
||||||
ro.boot.hwversion u:object_r:build_prop:s0
|
|
||||||
ro.build.flavor u:object_r:build_prop:s0
|
|
||||||
ro.cust.test u:object_r:build_prop:s0
|
|
||||||
ro.miui. u:object_r:build_prop:s0
|
|
||||||
ro.product.mod_device u:object_r:build_prop:s0
|
|
||||||
|
|
||||||
# Xiaomi thermal daemon
|
# Xiaomi thermal daemon
|
||||||
vendor.sys.thermal. u:object_r:vendor_thermal_normal_prop:s0
|
vendor.sys.thermal. u:object_r:vendor_thermal_normal_prop:s0
|
||||||
|
Loading…
Reference in New Issue
Block a user