summaryrefslogtreecommitdiff
path: root/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2020-01-29 22:45:42 +0800
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:54 +0300
commit02b93d0d5c8e03aa8b415f672ed600aafeafc5ef (patch)
treef92c1b2f183e467c458fbe66df84a13fb945fbe5 /light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
parentc76f291cd000a679058e4a591bef52ac420aafff (diff)
sdm660-common: lights: red -> white
Change-Id: I097c542f95434d85b8c041b156dfd81952c64164
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.rc28
1 files changed, 14 insertions, 14 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 2d2f47c..7dac2e6 100644
--- a/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
+++ b/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
@@ -1,20 +1,20 @@
on boot
# Notification LED
- chown system system /sys/class/leds/red/blink
- chown system system /sys/class/leds/red/brightness
- chown system system /sys/class/leds/red/duty_pcts
- chown system system /sys/class/leds/red/pause_hi
- chown system system /sys/class/leds/red/pause_lo
- chown system system /sys/class/leds/red/ramp_step_ms
- chown system system /sys/class/leds/red/start_idx
+ chown system system /sys/class/leds/white/blink
+ chown system system /sys/class/leds/white/brightness
+ chown system system /sys/class/leds/white/duty_pcts
+ chown system system /sys/class/leds/white/pause_hi
+ chown system system /sys/class/leds/white/pause_lo
+ chown system system /sys/class/leds/white/ramp_step_ms
+ chown system system /sys/class/leds/white/start_idx
- chmod 660 /sys/class/leds/red/blink
- chmod 660 /sys/class/leds/red/brightness
- chmod 660 /sys/class/leds/red/duty_pcts
- chmod 660 /sys/class/leds/red/pause_hi
- chmod 660 /sys/class/leds/red/pause_lo
- chmod 660 /sys/class/leds/red/ramp_step_ms
- chmod 660 /sys/class/leds/red/start_idx
+ chmod 660 /sys/class/leds/white/blink
+ chmod 660 /sys/class/leds/white/brightness
+ chmod 660 /sys/class/leds/white/duty_pcts
+ chmod 660 /sys/class/leds/white/pause_hi
+ chmod 660 /sys/class/leds/white/pause_lo
+ chmod 660 /sys/class/leds/white/ramp_step_ms
+ chmod 660 /sys/class/leds/white/start_idx
service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.xiaomi_sdm660
class hal