From 83cd1abe8a39c71bc81d55119d774f627b2a19aa Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Thu, 4 Jan 2018 17:31:57 -0800 Subject: 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 --- light/android.hardware.light@2.0-service.zuk_8996.rc | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3