sm8350-common: sepolicy: allow camera hal to access camera sensor props

This commit is contained in:
Cosmin Tanislav 2021-10-18 15:02:18 +03:00
parent 08e1ef9ec6
commit 59d1e4975c
2 changed files with 7 additions and 0 deletions

3
sepolicy/vendor/hal_camera_default.te vendored Normal file
View File

@ -0,0 +1,3 @@
type vendor_camera_sensor_prop, property_type;
set_prop(hal_camera_default, vendor_camera_sensor_prop)

View File

@ -1,3 +1,7 @@
# Camera
vendor.camera.sensor. u:object_r:vendor_camera_sensor_prop:s0
ro.boot.camera.config u:object_r:vendor_camera_sensor_prop:s0
# Fingerprint # Fingerprint
persist.vendor.sys.fp. u:object_r:vendor_fp_prop:s0 persist.vendor.sys.fp. u:object_r:vendor_fp_prop:s0
persist.vendor.sys.fp.info u:object_r:vendor_fp_info_prop:s0 persist.vendor.sys.fp.info u:object_r:vendor_fp_info_prop:s0