aidl: light: Add "backlight" to the list of backlight devices

* Seen on sdm660 4.19

Change-Id: I4cf0cee36fc5d09f65c4709d854ed3cd5d087e68
This commit is contained in:
Sebastiano Barezzi 2022-09-12 21:04:23 +02:00 committed by althafvly
parent 2686a6a730
commit 2964a15eb6
2 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,7 @@ private:
};
static const std::string kBacklightDevices[] = {
"backlight",
"panel0-backlight",
};

View File

@ -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