aidl: light: Add "backlight" to the list of backlight devices
* Seen on sdm660 4.19 Change-Id: I4cf0cee36fc5d09f65c4709d854ed3cd5d087e68
This commit is contained in:
parent
2686a6a730
commit
2964a15eb6
@ -52,6 +52,7 @@ private:
|
||||
};
|
||||
|
||||
static const std::string kBacklightDevices[] = {
|
||||
"backlight",
|
||||
"panel0-backlight",
|
||||
};
|
||||
|
||||
|
@ -21,6 +21,9 @@ on early-boot
|
||||
chown system system /sys/class/leds/white/max_brightness
|
||||
|
||||
# Backlight
|
||||
chown system system /sys/class/backlight/backlight/brightness
|
||||
chown system system /sys/class/backlight/backlight/max_brightness
|
||||
|
||||
chown system system /sys/class/backlight/panel0-backlight/brightness
|
||||
chown system system /sys/class/backlight/panel0-backlight/max_brightness
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user