diff --git a/sepolicy/vendor/hal_camera_default.te b/sepolicy/vendor/hal_camera_default.te new file mode 100644 index 0000000..a5fa916 --- /dev/null +++ b/sepolicy/vendor/hal_camera_default.te @@ -0,0 +1,3 @@ +type vendor_camera_sensor_prop, property_type; + +set_prop(hal_camera_default, vendor_camera_sensor_prop) diff --git a/sepolicy/vendor/property_contexts b/sepolicy/vendor/property_contexts index 372dd61..641b5fd 100644 --- a/sepolicy/vendor/property_contexts +++ b/sepolicy/vendor/property_contexts @@ -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 persist.vendor.sys.fp. u:object_r:vendor_fp_prop:s0 persist.vendor.sys.fp.info u:object_r:vendor_fp_info_prop:s0