summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2018-01-05 02:31:57 +0100
committerArne Coucheron <arco68@gmail.com>2019-07-22 02:15:13 +0200
commit66b195f35949b10efbc88856da25825fbd4720e1 (patch)
tree486d8922dd093da314d601d1dbaf3ede23afb3cd
parent0003f594ef610b50c22b5a1c5236abba50687314 (diff)
downloadandroid_hardware_samsung-66b195f35949b10efbc88856da25825fbd4720e1.tar.gz
android_hardware_samsung-66b195f35949b10efbc88856da25825fbd4720e1.tar.bz2
android_hardware_samsung-66b195f35949b10efbc88856da25825fbd4720e1.zip
samsung: hidl: light_service: 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
-rw-r--r--hidl/light/android.hardware.light@2.0-service.samsung.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/hidl/light/android.hardware.light@2.0-service.samsung.rc b/hidl/light/android.hardware.light@2.0-service.samsung.rc
index deefa18..74698bf 100644
--- a/hidl/light/android.hardware.light@2.0-service.samsung.rc
+++ b/hidl/light/android.hardware.light@2.0-service.samsung.rc
@@ -1,4 +1,5 @@
service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.samsung
+ interface android.hardware.light@2.0::ILight default
class hal
user system
group system