Merge "Add sepolicy to allow lights to access display" into tm-qpr-dev

This commit is contained in:
CJ Fan 2023-01-06 23:34:52 +00:00 committed by Android (Google) Code Review
commit bf9c2e4756

View file

@ -2,4 +2,6 @@ allow hal_light_default sysfs_leds:dir search;
allow hal_light_default sysfs_leds:file rw_file_perms; allow hal_light_default sysfs_leds:file rw_file_perms;
allow hal_light_default mnt_vendor_file:dir search; allow hal_light_default mnt_vendor_file:dir search;
allow hal_light_default persist_file:dir search; allow hal_light_default persist_file:dir search;
allow hal_light_default hal_pixel_display_service:service_manager find;
binder_call(hal_light_default, hal_graphics_composer_default);
r_dir_file(hal_light_default, persist_leds_file); r_dir_file(hal_light_default, persist_leds_file);