sm7325-common: sepolicy: fix property_contexts for MotCamera

* Move the props to private and redefine vendor_camera_prop

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I77a99969311b98739198cbaa2543e150167787d4
This commit is contained in:
Andrew Hexen 2022-09-26 14:57:44 +00:00 committed by Nolen Johnson
parent 9140dc75a1
commit 86fbf4f8be
3 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,7 @@
# Camera
camera.mot.is.coming.cts u:object_r:exported_system_prop:s0
camera.mot.is.coming.cts u:object_r:moto_camera_config_prop:s0 exact bool
ro.camera.req.fmq.size u:object_r:moto_camera_config_prop:s0 exact bool
ro.camera.res.fmq.size u:object_r:moto_camera_config_prop:s0 exact bool
# Motorola
ro.mot.build.customerid u:object_r:build_prop:s0

View File

@ -20,3 +20,7 @@ allow hal_camera_default vendor_xdsp_device:chr_file r_file_perms;
hal_client_domain(hal_camera_default, vendor_hal_qspmhal)
hal_client_domain(hal_camera_default, hal_cameradesktop)
# Camera props
get_prop(hal_camera_default, moto_camera_config_prop)

View File

@ -1,5 +1,7 @@
# Motorola
vendor_public_prop(moto_camera_config_prop)
vendor_internal_prop(vendor_mot_fingerprint_prop);
vendor_internal_prop(vendor_mot_hw_prop);
vendor_internal_prop(vendor_mot_touch_prop);
vendor_internal_prop(vendor_mot_nfc_prop);
vendor_internal_prop(vendor_mot_nfc_prop);