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