Add sepolicy to allow camera HAL to read display backlight
Add sepolicy to allow camera HAL to read display backlight to use in gabc algorithm. Bug: 187917645 Test: build pass, go/p21-camera-test-checklist Change-Id: I628ee2dedd48dd1360d0818137ba9139ae194029
This commit is contained in:
parent
dba7013033
commit
0d7ab6ea8b
1 changed files with 4 additions and 0 deletions
|
@ -82,3 +82,7 @@ allow hal_camera_default apex_info_file:file r_file_perms;
|
|||
|
||||
# Allow camera HAL to query current device clock frequencies.
|
||||
allow hal_camera_default sysfs_devfreq_cur:file r_file_perms;
|
||||
|
||||
# allow camera HAL to read backlight of display
|
||||
allow hal_camera_default sysfs_leds:dir r_dir_perms;
|
||||
allow hal_camera_default sysfs_leds:file r_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue