Some devices have multiple panels, including some with 0 brightness. Take the one with the highest brightness
This commit is contained in:
parent
b3a5ea6275
commit
cfe638aa94
@ -693,4 +693,4 @@ resetprop service.adb.root 0
|
||||
# This is for Samsung Galaxy devices with HBM FOD
|
||||
# On those devices, a magic Layer usageBits switches to "mask_brightness"
|
||||
# But default is 255, so set it to max instead
|
||||
cat /sys/class/backlight/panel/max_brightness > /sys/class/lcd/panel/mask_brightness
|
||||
cat /sys/class/backlight/*/max_brightness |sort -n |tail -n 1 > /sys/class/lcd/panel/mask_brightness
|
||||
|
Loading…
Reference in New Issue
Block a user