selinux: Allow sensor HAL to access the display service HAL
Add necessary permissions. Bug: b/204471211 Test: Testing with corresponding sensor HAL changes and sensor_test commands. Change-Id: I01774210693ceb4a6d0d4dee4fb5e905117774d3
This commit is contained in:
parent
f7db23e139
commit
734d79bdaf
1 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,10 @@ get_prop(hal_sensors_default, vendor_dynamic_sensor_prop)
|
|||
# Allow access to raw HID devices for dynamic sensors.
|
||||
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.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue