selinux: Allow sensor HAL to access the display service HAL am: 734d79bdaf

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/16376281

Change-Id: Ib3f0609b74dbb05a7e4936fa2055a1e050777b3e
This commit is contained in:
Chris Kuiper 2021-12-10 17:44:16 +00:00 committed by Automerger Merge Worker
commit 3ce470c235

View file

@ -55,6 +55,10 @@ get_prop(hal_sensors_default, vendor_dynamic_sensor_prop)
# Allow access to raw HID devices for dynamic sensors. # Allow access to raw HID devices for dynamic sensors.
allow hal_sensors_default hidraw_device:chr_file rw_file_perms; allow hal_sensors_default hidraw_device:chr_file rw_file_perms;
# Allow sensor HAL to access the display service HAL
allow hal_sensors_default hal_pixel_display_service:service_manager find;
binder_call(hal_sensors_default, hal_graphics_composer_default)
# #
# Suez type enforcements. # Suez type enforcements.
# #