OSDN Git Service
(root)
/
android-x86
/
hardware-interfaces.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bda21c9
)
Add capability for sensor hal to use wakelock
author
Peng Xu
<pengxu@google.com>
Tue, 12 Sep 2017 21:52:22 +0000
(14:52 -0700)
committer
Peng Xu
<pengxu@google.com>
Thu, 14 Sep 2017 20:58:45 +0000
(20:58 +0000)
Bug:
63995095
Test: no more wake lock acquire failures in QCOM and nanohub sensor
hal
Change-Id: I2a5c2e29ecb66869a408f53998b6074ed07b493a
sensors/1.0/default/android.hardware.sensors@1.0-service.rc
patch
|
blob
|
history
diff --git
a/sensors/1.0/default/android.hardware.sensors@1.0-service.rc
b/sensors/1.0/default/android.hardware.sensors@1.0-service.rc
index
059e5db
..
6e78082
100644
(file)
--- a/
sensors/1.0/default/android.hardware.sensors@1.0-service.rc
+++ b/
sensors/1.0/default/android.hardware.sensors@1.0-service.rc
@@
-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