264c3a5ca8
This reverts commit 688407d50e
.
Change-Id: I30ee38523f5ab05e8ca6101522062fdd99e91280
19 lines
674 B
Plaintext
19 lines
674 B
Plaintext
on boot
|
|
chown system system /sys/class/leds/left/brightness
|
|
chown system system /sys/class/leds/left/breath
|
|
chown system system /sys/class/leds/white/brightness
|
|
chown system system /sys/class/leds/white/breath
|
|
|
|
chmod 0644 /sys/class/leds/left/brightness
|
|
chmod 0644 /sys/class/leds/left/breath
|
|
chmod 0644 /sys/class/leds/white/brightness
|
|
chmod 0644 /sys/class/leds/white/breath
|
|
|
|
service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.xiaomi_sm6150
|
|
interface android.hardware.light@2.0::ILight default
|
|
class hal
|
|
user system
|
|
group system
|
|
# shutting off lights while powering-off
|
|
shutdown critical
|