mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 11:27:36 +00:00
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:
committed by
TreeHugger Robot
parent
4bc7128afe
commit
31981dfaea
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user