From 5d4dc1b81e1b82b8552572c4a2e49b6c21c4b80a Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Thu, 4 Jan 2018 17:31:57 -0800 Subject: [PATCH] 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 --- light/2.0/default/android.hardware.light@2.0-service.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/light/2.0/default/android.hardware.light@2.0-service.rc b/light/2.0/default/android.hardware.light@2.0-service.rc index f268706d87..68f74c4d08 100644 --- a/light/2.0/default/android.hardware.light@2.0-service.rc +++ b/light/2.0/default/android.hardware.light@2.0-service.rc @@ -1,4 +1,5 @@ service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service + interface android.hardware.light@2.0::ILight default class hal user system group system