Add hal_graphics_composer_default to sensors sepolicy.

Bug: 221396170
Test: No avc denial.

Change-Id: I23299524dec50d8c589c6acc9da8b3c8c3399f97
This commit is contained in:
Robb Glasser 2022-03-01 18:20:04 -08:00
parent e95f5edafe
commit 990294708f

View file

@ -48,3 +48,6 @@ allow hal_sensors_default hal_pixel_display_service:service_manager find;
# Allow display_info_service access to the backlight driver.
allow hal_sensors_default sysfs_leds:dir search;
allow hal_sensors_default sysfs_leds:file r_file_perms;
# Allow sensor HAL to access the graphics composer.
binder_call(hal_sensors_default, hal_graphics_composer_default);