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:
matthuang 2023-01-31 17:30:19 +08:00
parent c81e6d423f
commit 306f6c5e8c

View file

@ -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;