Add capability for sensor hal to use wakelock

Bug: 63995095
Test: no more wake lock acquire failures in QCOM and nanohub sensor
      hal
Change-Id: I2a5c2e29ecb66869a408f53998b6074ed07b493a
Merged-In: I2a5c2e29ecb66869a408f53998b6074ed07b493a
This commit is contained in:
Peng Xu
2017-09-12 14:52:22 -07:00
parent 8d0d6f99df
commit f923c8230a

View File

@@ -1,5 +1,5 @@
service sensors-hal-1-0 /vendor/bin/hw/android.hardware.sensors@1.0-service
class hal
user system
group system
capabilities SYS_NICE
group system wakelock
capabilities BLOCK_SUSPEND SYS_NICE