5af8701925
Change-Id: If9e5afe292b023a8aa4d5ba509e206f9a4ff371f
19 lines
752 B
Plaintext
19 lines
752 B
Plaintext
on boot
|
|
chown system system /sys/class/backlight/panel0-backlight/brightness
|
|
chown system system /sys/class/backlight/panel0-backlight/max_brightness
|
|
chown system system /sys/class/leds/green/brightness
|
|
chown system system /sys/class/leds/green/breath
|
|
|
|
chmod 0644 /sys/class/backlight/panel0-backlight/brightness
|
|
chmod 0644 /sys/class/backlight/panel0-backlight/max_brightness
|
|
chmod 0644 /sys/class/leds/green/brightness
|
|
chmod 0644 /sys/class/leds/green/breath
|
|
|
|
service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.davinci
|
|
interface android.hardware.light@2.0::ILight default
|
|
class hal
|
|
user system
|
|
group system
|
|
# shutting off lights while powering-off
|
|
shutdown critical
|