sm6150-common: sepolicy: Label new telephony properties

Change-Id: Iad765076ceba263e4933374178eec670ffc81959
This commit is contained in:
Arian 2022-06-28 00:54:20 +02:00
parent 1bc49c2aff
commit 28b9dec732
2 changed files with 13 additions and 0 deletions

View File

@ -26,6 +26,14 @@ vendor.powerhal. u:object_r:vendor_power_prop:s0
# Sensors # Sensors
persist.sensor. u:object_r:persist_sensors_prop:s0 persist.sensor. u:object_r:persist_sensors_prop:s0
# Telephony
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.psno u:object_r:vendor_sno_prop:s0
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.meid u:object_r:vendor_deviceid_prop:s0
# Xiaomi specific build properties # Xiaomi specific build properties
ro.boot.hwc u:object_r:build_prop:s0 ro.boot.hwc u:object_r:build_prop:s0
ro.boot.hwversion u:object_r:build_prop:s0 ro.boot.hwversion u:object_r:build_prop:s0

5
sepolicy/vendor/rild.te vendored Normal file
View File

@ -0,0 +1,5 @@
vendor_internal_prop(vendor_deviceid_prop)
vendor_internal_prop(vendor_sno_prop)
set_prop(rild, vendor_deviceid_prop)
set_prop(rild, vendor_sno_prop)