sm6150-common: sepolicy: Move xiaomi specific property labels to vendor

Change-Id: I4f2f5e2ee9b0751e3af14fbb1cd4ab93814755f8
This commit is contained in:
Arian 2021-11-03 23:26:31 +01:00
parent 1edab42a1a
commit 5a4c03d68e
3 changed files with 10 additions and 9 deletions

View File

@ -156,7 +156,6 @@ VENDOR_SECURITY_PATCH := 2021-09-01
TARGET_SEPOLICY_DIR := msmsteppe
include device/qcom/sepolicy_vndr/SEPolicy.mk
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/private
BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
# Verified Boot

View File

@ -1,8 +0,0 @@
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.camera.req.fmq.size u:object_r:exported_default_prop:s0
ro.camera.res.fmq.size u:object_r:exported_default_prop:s0
ro.cust.test u:object_r:exported_default_prop:s0
ro.miui. u:object_r:exported_system_prop:s0
ro.product.mod_device u:object_r:exported2_default_prop:s0

View File

@ -9,6 +9,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.rearTele.fuseID 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
gf.debug. u:object_r:vendor_fp_prop:s0
@ -24,5 +26,13 @@ vendor.powerhal. u:object_r:vendor_power_prop:s0
# Sensors
persist.sensor. u:object_r:persist_sensors_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
vendor.sys.thermal. u:object_r:vendor_thermal_normal_prop:s0