From: Steven Moreland Date: Fri, 5 Jan 2018 01:31:57 +0000 (+0100) Subject: samsung: hidl: light_service: Add interface specification for lights hal X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=66b195f35949b10efbc88856da25825fbd4720e1;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git samsung: hidl: light_service: 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 --- diff --git a/hidl/light/android.hardware.light@2.0-service.samsung.rc b/hidl/light/android.hardware.light@2.0-service.samsung.rc index deefa18..74698bf 100644 --- a/hidl/light/android.hardware.light@2.0-service.samsung.rc +++ b/hidl/light/android.hardware.light@2.0-service.samsung.rc @@ -1,4 +1,5 @@ service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.samsung + interface android.hardware.light@2.0::ILight default class hal user system group system