sm6225-common: sepolicy: Label persist.vendor.nfc properties
and let vendor_init set them Change-Id: I93f1c7269caabce255be7770d78d8133fcbc8c46
This commit is contained in:
parent
98150f6bef
commit
b59023c589
2 changed files with 2 additions and 0 deletions
1
sepolicy/vendor/property_contexts
vendored
1
sepolicy/vendor/property_contexts
vendored
|
@ -28,4 +28,5 @@ ro.vendor.touch.fw_version u:object_r:vendor_mot_touch_prop:s0
|
||||||
ro.vendor.touch.supplier_vendor u:object_r:vendor_mot_touch_prop:s0
|
ro.vendor.touch.supplier_vendor u:object_r:vendor_mot_touch_prop:s0
|
||||||
|
|
||||||
# NFC
|
# NFC
|
||||||
|
persist.vendor.nfc. u:object_r:vendor_nfc_prop:s0
|
||||||
vendor.nfc.fw_status u:object_r:vendor_nfc_prop:s0
|
vendor.nfc.fw_status u:object_r:vendor_nfc_prop:s0
|
||||||
|
|
1
sepolicy/vendor/vendor_init.te
vendored
1
sepolicy/vendor/vendor_init.te
vendored
|
@ -1,5 +1,6 @@
|
||||||
set_prop(vendor_init, vendor_camera_prop)
|
set_prop(vendor_init, vendor_camera_prop)
|
||||||
set_prop(vendor_init, vendor_ims_prop)
|
set_prop(vendor_init, vendor_ims_prop)
|
||||||
set_prop(vendor_init, vendor_mot_hw_prop)
|
set_prop(vendor_init, vendor_mot_hw_prop)
|
||||||
|
set_prop(vendor_init, vendor_nfc_prop)
|
||||||
|
|
||||||
allow vendor_init proc_sched_lib_mask_cpuinfo:file w_file_perms;
|
allow vendor_init proc_sched_lib_mask_cpuinfo:file w_file_perms;
|
||||||
|
|
Loading…
Reference in a new issue