init_earlyboot: Set lcd density for sdm845
Set the property ro.sf.lcd_density to 560 Change-Id: Ie72c688ba49169ca1c221424b522b2f5b79c1cf4
This commit is contained in:
parent
33ebc3c84f
commit
78e4842483
|
@ -239,6 +239,19 @@ case "$target" in
|
|||
;;
|
||||
esac
|
||||
;;
|
||||
"sdm845")
|
||||
case "$soc_hwplatform" in
|
||||
*)
|
||||
setprop ro.sf.lcd_density 560
|
||||
if [ ! -e /dev/kgsl-3d0 ]; then
|
||||
setprop persist.sys.force_sw_gles 1
|
||||
setprop sdm.idle_time 0
|
||||
else
|
||||
setprop persist.sys.force_sw_gles 0
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
#set default lcd density
|
||||
#Since lcd density has read only
|
||||
|
|
Loading…
Reference in New Issue