Allow the sensor HAL to access dynamic sensor properties.
Bug: 195964858 Test: Verified dynamic sensor manager is present in sensor list and that no SELinux violations occur. Test: See details in testing done comment in https://googleplex-android-review.git.corp.google.com/15874927 . Change-Id: I76a60f7fbd113059156ccaea2c4f98580cb0836a
This commit is contained in:
parent
17e518038e
commit
fba4a09331
3 changed files with 11 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 dynamic sensor properties.
|
||||
get_prop(hal_sensors_default, vendor_dynamic_sensor_prop)
|
||||
|
||||
#
|
||||
# Suez type enforcements.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue