Allow sensor hal to access uhid devices.
Bug: 262056923 Bug: 274537630 Test: Screen is off when put a magnet close to hall sensor. Change-Id: I2031c167f242b10b0a03076f0bc4184dd21e2cd5 Merged-In: I2031c167f242b10b0a03076f0bc4184dd21e2cd5
This commit is contained in:
parent
7e59945dbb
commit
7e7ab2d604
1 changed files with 3 additions and 0 deletions
3
vendor/hal_sensors_default.te
vendored
3
vendor/hal_sensors_default.te
vendored
|
@ -4,3 +4,6 @@
|
|||
|
||||
# Allow sensor HAL to access pogo driver hall file node.
|
||||
allow hal_sensors_default sysfs_pogo_usb:file rw_file_perms;
|
||||
|
||||
# Allow access to the uhid devices.
|
||||
allow hal_sensors_default uhid_device:chr_file rw_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue