]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/commitdiff
Add interface specification for lights hal.
authorSteven Moreland <smoreland@google.com>
Fri, 5 Jan 2018 01:31:57 +0000 (17:31 -0800)
committerSteven Moreland <smoreland@google.com>
Fri, 5 Jan 2018 18:16:34 +0000 (10:16 -0800)
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

light/2.0/default/android.hardware.light@2.0-service.rc

index f268706d87c997e6099f57a2e3e43913b34a6dbd..68f74c4d084ac24a0dbbbef263a5a50b30e167c5 100644 (file)
@@ -1,4 +1,5 @@
 service vendor.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