sdm845-common: Fix nothing being shown during offmode charging
Disable initial blank, and set a default brightness that can be used by kernel to be written to panel when it's re-enabled. Change-Id: I35fbd0bc7e816a8833cbeda145415db4fe521adb
This commit is contained in:
@@ -39,6 +39,9 @@ on boot
|
||||
chown system system /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/main_display/display_mode
|
||||
chown system system /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/main_display/hbm
|
||||
|
||||
on charger
|
||||
write /sys/class/backlight/panel0-backlight/brightness 150
|
||||
|
||||
service dashd /sbin/dashd
|
||||
class core
|
||||
critical
|
||||
|
||||
Reference in New Issue
Block a user