mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-08-02 22:46:36 +09:00
* Heavily inspired by CAF liblights * Also properly implemented white LED support * Added chowns where needed (AOSP init.rc already sets some) Change-Id: Ib9ff8accb163563e19d754f581805bde586d30a9
11 lines
361 B
Plaintext
11 lines
361 B
Plaintext
on early-boot
|
|
chown system system /sys/class/leds/white/breath
|
|
chown system system /sys/class/leds/white/brightness
|
|
chown system system /sys/class/backlight/panel0-backlight/brightness
|
|
|
|
service vendor.light-xiaomi_atoll /vendor/bin/hw/android.hardware.lights-service.xiaomi_atoll
|
|
class hal
|
|
user system
|
|
group system
|
|
shutdown critical
|