platform_hardware_interfaces/light/2.0/default/android.hardware.light@2.0-service-lazy.rc
Peter Kalauskas 45c1dd8160 Add lazy service target to the light HAL
This change allows a device to include the lazy service implementation,
which will allow the HAL to exit when it is not in use.

Test: Manually observe brightness slider behavior
Change-Id: I7f8f747ebe6e183e1aaf1406852e6e26a97aee35
2019-01-23 15:29:05 -08:00

9 lines
280 B
Text

service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service-lazy
interface android.hardware.light@2.0::ILight default
oneshot
disabled
class hal
user system
group system
# shutting off lights while powering-off
shutdown critical