[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
This commit is contained in:
Adogu Huang 2020-01-18 10:18:42 +08:00
parent 8ed6a9057c
commit e22f81b608

View File

@ -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;