From e22f81b6085cf88e485b024b73d33213662450cc Mon Sep 17 00:00:00 2001 From: Adogu Huang Date: Sat, 18 Jan 2020 10:18:42 +0800 Subject: [PATCH] [ALPS04726978] cam: fix assert in factory mode grant CAM_CAL_DRV access in factory mode. MTK-Commit-Id: d0d09a8d54a5d40c58b05234f03006d75aad03f5 Change-Id: I3a7fc18aae31c41c8ec033c0962ca2828184eef9 CR-Id: ALPS04726978 Feature: Factory Mode --- non_plat/factory.te | 1 + 1 file changed, 1 insertion(+) diff --git a/non_plat/factory.te b/non_plat/factory.te index 903e96e..fc5cea0 100644 --- a/non_plat/factory.te +++ b/non_plat/factory.te @@ -117,6 +117,7 @@ allow factory biometric_device:chr_file r_file_perms; allow factory kd_camera_flashlight_device:chr_file rw_file_perms; allow factory kd_camera_hw_device:chr_file rw_file_perms; allow factory seninf_device:chr_file rw_file_perms; +allow factory CAM_CAL_DRV_device:chr_file rw_file_perms; #Purpose: For reboot the target allow factory powerctl_prop:property_service set;