From 023535373be63a7691a34ecd57b4fb012ed463e0 Mon Sep 17 00:00:00 2001 From: bengris32 Date: Mon, 15 Aug 2022 13:03:30 +0100 Subject: [PATCH] sepolicy: basic: non_plat: Allow CameraHAL to set vendor_mtk_emcamera_prop Signed-off-by: bengris32 Change-Id: Ie11e1ebd3cead23d9e2a769d64f514f9c302b63b --- basic/non_plat/mtk_hal_camera.te | 3 +++ 1 file changed, 3 insertions(+) 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 nvdata_file:dir create_dir_perms; 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;