summaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorSteven Moreland2018-01-04 19:31:57 -0600
committerSteven Moreland2018-01-05 12:16:34 -0600
commit5d4dc1b81e1b82b8552572c4a2e49b6c21c4b80a (patch)
treee6540f6db40c9c104273e31ffd7f8edb55ba8926 /light
parent3fe18f6c0190bc46997e7d53793fd6b2afac48f9 (diff)
downloadplatform-hardware-interfaces-5d4dc1b81e1b82b8552572c4a2e49b6c21c4b80a.tar.gz
platform-hardware-interfaces-5d4dc1b81e1b82b8552572c4a2e49b6c21c4b80a.tar.xz
platform-hardware-interfaces-5d4dc1b81e1b82b8552572c4a2e49b6c21c4b80a.zip
Add interface specification for lights hal.
So that init knows how to start it and to provide an example of how to specify interfaces since there are no lazy starting services on Pixel yet. In order to make lights a lazy service, it would also have to be marked as 'oneshot'. Test: manually using Light as a lazy service Bug: 64678982 Change-Id: I846a7e2d9545b42af9b985adb74883bda1b8c355
Diffstat (limited to 'light')
-rw-r--r--light/2.0/default/android.hardware.light@2.0-service.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/light/2.0/default/android.hardware.light@2.0-service.rc b/light/2.0/default/android.hardware.light@2.0-service.rc
index f268706d..68f74c4d 100644
--- a/light/2.0/default/android.hardware.light@2.0-service.rc
+++ b/light/2.0/default/android.hardware.light@2.0-service.rc
@@ -1,4 +1,5 @@
1service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service 1service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service
2 interface android.hardware.light@2.0::ILight default
2 class hal 3 class hal
3 user system 4 user system
4 group system 5 group system