sm8350-common: sepolicy: allow camera hal to access camera sensor props
This commit is contained in:
parent
08e1ef9ec6
commit
59d1e4975c
3
sepolicy/vendor/hal_camera_default.te
vendored
Normal file
3
sepolicy/vendor/hal_camera_default.te
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
type vendor_camera_sensor_prop, property_type;
|
||||||
|
|
||||||
|
set_prop(hal_camera_default, vendor_camera_sensor_prop)
|
4
sepolicy/vendor/property_contexts
vendored
4
sepolicy/vendor/property_contexts
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user