Allow HWC to get device_config_surface_flinger_native_boot_prop for adpf flags

For the hardware composer and surfaceflinger to coordinate on certain features, it is necessary for the hardware composer to be able to read the surface_flinger_native_boot_prop to know what should be enabled.

Bug: b/214473134
Test: None
Change-Id: If03dae54ea17a8131c489f56092c0edd974ea41b
This commit is contained in:
Matt Buckley 2022-01-14 20:20:24 +00:00
parent 9633922461
commit 5bf8862b01

View file

@ -47,3 +47,6 @@ allow hal_graphics_composer_default hal_dumpstate_default:fd use;
# socket / vnd service
allow hal_graphics_composer_default self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
vndbinder_use(hal_graphics_composer_default)
# allow HWC to get device_config_surface_flinger_native_boot_prop for adpf flags
get_prop(hal_graphics_composer_default, device_config_surface_flinger_native_boot_prop)