diff options
author | Steven Moreland <smoreland@google.com> | 2018-01-04 17:31:57 -0800 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2021-10-19 15:09:38 +0200 |
commit | 83cd1abe8a39c71bc81d55119d774f627b2a19aa (patch) | |
tree | ab78e4559f13db1856f6d1b43266f6a6b8c260a8 | |
parent | edadb89c7ad42c1629c4daa3cec68160563778fa (diff) |
msm8996-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
-rw-r--r-- | light/android.hardware.light@2.0-service.zuk_8996.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/light/android.hardware.light@2.0-service.zuk_8996.rc b/light/android.hardware.light@2.0-service.zuk_8996.rc index 7451a41..97aecc5 100644 --- a/light/android.hardware.light@2.0-service.zuk_8996.rc +++ b/light/android.hardware.light@2.0-service.zuk_8996.rc @@ -61,6 +61,7 @@ on init chmod 660 /sys/class/leds/rgb/rgb_blink service light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.zuk_8996 + interface android.hardware.light@2.0::ILight default class hal user system group system |