Merge "Add sepolicy to allow camera HAL to read display backlight" into sc-dev

This commit is contained in:
TreeHugger Robot 2021-08-06 14:04:38 +00:00 committed by Android (Google) Code Review
commit cfcf725081

View file

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