diff --git a/lights/android.hardware.light@2.0-service.oneplus_sdm845.rc b/lights/android.hardware.light@2.0-service.oneplus_sdm845.rc index d7ba29d..2407077 100644 --- a/lights/android.hardware.light@2.0-service.oneplus_sdm845.rc +++ b/lights/android.hardware.light@2.0-service.oneplus_sdm845.rc @@ -6,7 +6,10 @@ on boot chown system system /sys/class/leds/green/lut_flags chown system system /sys/class/leds/blue/lut_flags -service light-hal-2-0 /system/bin/hw/android.hardware.light@2.0-service.oneplus_sdm845 +service vendor.light-hal-2-0 /system/bin/hw/android.hardware.light@2.0-service.oneplus_sdm845 + interface android.hardware.light@2.0::ILight default class hal user system group system + # shutting off lights while powering-off + shutdown critical