display: Change low persistence mode brightness

Bug : 62663757

- Change low persistence(LP) mode brightness from 255 to 159
- If panel version is 2-1, Set LP mode brightness to 255

Change-Id: Ie3754ac9ab11347e4f4edf91a607a17fc6b776fc
This commit is contained in:
jiwon912.choi
2017-06-27 16:04:46 +09:00
committed by Patrick Tjin
parent cf030e42aa
commit 614dc65297
2 changed files with 4 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
#
TARGET_BOOTLOADER_BOARD_NAME := taimen
DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS := 0x000000ff
DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS := 0x0000009f
BOARD_KERNEL_CMDLINE += console=ttyMSM0,115200,n8 earlycon=msm_serial_dm,0xc1b0000

View File

@@ -40,3 +40,6 @@ on property:sys.all.modules.ready=1
on property:sys.retaildemo.enabled=* && property:sys.all.modules.ready=1
write /sys/module/lge_battery/parameters/demo_mode ${sys.retaildemo.enabled}
on property:ro.boot.hardware.display=2-1
setprop sys.display.low_persistence_mode_brightness 255