aboutsummaryrefslogtreecommitdiff
path: root/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
diff options
context:
space:
mode:
Diffstat (limited to 'light/android.hardware.light@2.0-service.xiaomi_sdm660.rc')
-rw-r--r--light/android.hardware.light@2.0-service.xiaomi_sdm660.rc5
1 files changed, 1 insertions, 4 deletions
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 5e5ddd1..3dd3990 100644
--- a/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
+++ b/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
@@ -1,4 +1,4 @@
-on boot
+on early-boot
# Notification LED
chown system system /sys/class/leds/white/blink
chown system system /sys/class/leds/white/brightness
@@ -15,12 +15,9 @@ on boot
chown system system /sys/class/leds/lcd-backlight/max_brightness
- 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
shutdown critical
- disabled