summaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2018-01-04 17:31:57 -0800
committerSteven Moreland <smoreland@google.com>2018-01-05 18:15:25 +0000
commit98ca764006b25c105ba013db13a2660a6e839f81 (patch)
tree5ebd3a9268d3e6f5d98ff5677610fef9f449c0e2 /light
parentc0204ee13d950cb815f4b85cc65e42a70decc70c (diff)
downloadandroid_hardware_interfaces-98ca764006b25c105ba013db13a2660a6e839f81.tar.gz
android_hardware_interfaces-98ca764006b25c105ba013db13a2660a6e839f81.tar.bz2
android_hardware_interfaces-98ca764006b25c105ba013db13a2660a6e839f81.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 Merged-In: I846a7e2d9545b42af9b985adb74883bda1b8c355 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 c3284c695..fcc64681e 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 @@
service light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service
+ interface android.hardware.light@2.0::ILight default
class hal
user system
group system \ No newline at end of file