sepolicy: basic: non_plat: Allow CameraHAL to set vendor_mtk_emcamera_prop
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ie11e1ebd3cead23d9e2a769d64f514f9c302b63b
diff --git a/basic/non_plat/mtk_hal_camera.te b/basic/non_plat/mtk_hal_camera.te
index aef1201..a618509 100644
--- a/basic/non_plat/mtk_hal_camera.te
+++ b/basic/non_plat/mtk_hal_camera.te
@@ -282,6 +282,9 @@
allow mtk_hal_camera nvcfg_file:lnk_file r_file_perms;
allow mtk_hal_camera mnt_vendor_file:file create_file_perms;
+# Allow Camera HAL to set vendor_mtk_emcamera_prop
+set_prop(mtk_hal_camera, vendor_mtk_emcamera_prop)
+
# AAO
allow mtk_hal_camera data_vendor_aao_file:dir create_dir_perms;
allow mtk_hal_camera data_vendor_aao_file:file create_file_perms;