interfaces: sensors: Add group 'input' to 2.[0-1] multihals

* Required by some OEM sensor implementations, e.g.
   ASUS ZenFone 8, ASUS ROG Phone 3, OnePlus 9. This
   is done so /dev/input/event* nodes can be read by
   the QCOM sensor HAL.

Test: Verified light and proximity sensor work on ASUS
      ZenFone 8 & ROG Phone 3 (android-12.1.0_r7).
Change-Id: I1a2d7384da0b159a4b59fcf38c37117d43b3b127
This commit is contained in:
Alexander Koskovich
2022-07-05 23:10:27 -07:00
parent 6645a15ad5
commit 9abc8e213f
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
service vendor.sensors-hal-2-0-multihal /vendor/bin/hw/android.hardware.sensors@2.0-service.multihal
class hal
user system
group system wakelock context_hub
group system wakelock context_hub input
task_profiles ServiceCapacityLow
capabilities BLOCK_SUSPEND
rlimit rtprio 10 10

View File

@@ -1,7 +1,7 @@
service vendor.sensors-hal-2-1-multihal /vendor/bin/hw/android.hardware.sensors@2.1-service.multihal
class hal
user system
group system wakelock context_hub
group system wakelock context_hub input
task_profiles ServiceCapacityLow
capabilities BLOCK_SUSPEND
rlimit rtprio 10 10