hal_sensors_default: Allow sensors HAL to access AoC properties.
Bug: 202901227 Test: Verify pass by checking device log. Signed-off-by: chiayupei <chiayupei@google.com> Change-Id: I917362ddf4b8e61810d2dd27da2b7775f1aec1e7
This commit is contained in:
parent
e48b455651
commit
a53690ac43
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ allow hal_sensors_default sysfs_aoc_reset:file rw_file_perms;
|
|||
# Allow sensor HAL to read AoC dumpstate.
|
||||
allow hal_sensors_default sysfs_aoc_dumpstate:file r_file_perms;
|
||||
|
||||
# Allow access for AoC properties.
|
||||
get_prop(hal_sensors_default, vendor_aoc_prop)
|
||||
|
||||
# Allow access for dynamic sensor properties.
|
||||
get_prop(hal_sensors_default, vendor_dynamic_sensor_prop)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue