Allow sensor hal to access uhid devices.
Bug: 262056923 Test: Screen is off when put a magnet close to hall sensor. Change-Id: I2031c167f242b10b0a03076f0bc4184dd21e2cd5
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user