kunlun2: Remove non-working and useless light rc
This reverts commit b6b7486d55
.
This commit is contained in:
parent
920fec6e5d
commit
6e374c1939
1 changed files with 0 additions and 39 deletions
|
@ -72,45 +72,6 @@ on boot
|
|||
chown system system /sys/class/touch/tp_dev/gesture_on
|
||||
chown 0660 /sys/class/touch/tp_dev/gesture_on
|
||||
|
||||
# Light HAL
|
||||
chown system system /sys/class/leds/wled/brightness
|
||||
chown system system /sys/class/leds/wled/max_brightness
|
||||
chown system system /sys/class/leds/red/breath
|
||||
chown system system /sys/class/leds/red/brightness
|
||||
chown system system /sys/class/leds/red/delay_on
|
||||
chown system system /sys/class/leds/red/delay_off
|
||||
chown system system /sys/class/leds/green/breath
|
||||
chown system system /sys/class/leds/green/brightness
|
||||
chown system system /sys/class/leds/green/delay_on
|
||||
chown system system /sys/class/leds/green/delay_off
|
||||
chown system system /sys/class/leds/blue/breath
|
||||
chown system system /sys/class/leds/blue/brightness
|
||||
chown system system /sys/class/leds/blue/delay_on
|
||||
chown system system /sys/class/leds/blue/delay_off
|
||||
|
||||
chmod 0644 /sys/class/leds/wled/brightness
|
||||
chmod 0644 /sys/class/leds/wled/max_brightness
|
||||
chmod 0644 /sys/class/leds/red/breath
|
||||
chmod 0644 /sys/class/leds/red/brightness
|
||||
chmod 0644 /sys/class/leds/red/delay_on
|
||||
chmod 0644 /sys/class/leds/red/delay_off
|
||||
chmod 0644 /sys/class/leds/green/breath
|
||||
chmod 0644 /sys/class/leds/green/brightness
|
||||
chmod 0644 /sys/class/leds/green/delay_on
|
||||
chmod 0644 /sys/class/leds/green/delay_off
|
||||
chmod 0644 /sys/class/leds/blue/breath
|
||||
chmod 0644 /sys/class/leds/blue/brightness
|
||||
chmod 0644 /sys/class/leds/blue/delay_on
|
||||
chmod 0644 /sys/class/leds/blue/delay_off
|
||||
|
||||
service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service
|
||||
interface android.hardware.light@2.0::ILight default
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
# shutting off lights while powering-off
|
||||
shutdown critical
|
||||
|
||||
service charger /system/bin/charger
|
||||
class charger
|
||||
user system
|
||||
|
|
Loading…
Reference in a new issue