Allow sensors HAL to rw the sensors registry.
The sensors HAL needs full permissions to read and write the sensors registry for things like runtime calibration. Bug: 227695036 Test: Denial goes away. Change-Id: I5ccec3497219acca7c172c1cb0cf1d070996b42b
This commit is contained in:
parent
4bc7128afe
commit
31981dfaea
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ allow hal_sensors_default persist_sensor_reg_file:file r_file_perms;
|
|||
r_dir_file(hal_sensors_default, persist_camera_file)
|
||||
|
||||
# Allow creation and writing of sensor registry data files.
|
||||
allow hal_sensors_default sensor_reg_data_file:dir r_dir_perms;
|
||||
allow hal_sensors_default sensor_reg_data_file:file r_file_perms;
|
||||
allow hal_sensors_default sensor_reg_data_file:dir rw_dir_perms;
|
||||
allow hal_sensors_default sensor_reg_data_file:file create_file_perms;
|
||||
|
||||
# Allow access to the display info for ALS.
|
||||
allow hal_sensors_default sysfs_display:file rw_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue