summaryrefslogtreecommitdiff
path: root/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2018-01-04 17:31:57 -0800
committerMichael Bestas <mkbestas@lineageos.org>2020-12-27 14:55:22 +0200
commit2c3319f40a0339bbeea57a289fb69e2339927df1 (patch)
treef9e7cedaf9c8ee110fddaea083455cea24fe6814 /light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
parent6e76fdd15981f03ca2dfe48d33a0c859d15e81df (diff)
sdm660-common: 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/android.hardware.light@2.0-service.xiaomi_sdm660.rc')
-rw-r--r--light/android.hardware.light@2.0-service.xiaomi_sdm660.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc b/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
index 46a2e62..5e5ddd1 100644
--- a/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
+++ b/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
@@ -18,6 +18,7 @@ on boot
start vendor.light-hal-2-0
service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.xiaomi_sdm660
+ interface android.hardware.light@2.0::ILight default
class hal
user system
group system