From 6e374c1939996d2cd2982711fd1930e7328adf54 Mon Sep 17 00:00:00 2001 From: GiaSen Date: Thu, 12 Nov 2020 21:53:10 +0100 Subject: [PATCH] kunlun2: Remove non-working and useless light rc This reverts commit b6b7486d55bcc39ba1b7279dc166e1ba3f6bc164. --- rootdir/etc/init.qcom.rc | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 8eb79cd..c5e2a41 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -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