sm8550-common: init: Set media_variant properties
Set system side media_variant properties based on target_variant property. This is done in vendor_init context since media_variant properties can only be set by vendor_init. Also, set the target_variant property for kona in early_boot script. Change-Id: I0aee83dacd1888867c90c8bf8e340e265ec203f7
This commit is contained in:
committed by
Mezaque Silver
parent
3f35a40a8e
commit
d16ec83d2d
@@ -311,6 +311,7 @@ case "$target" in
|
||||
"kona")
|
||||
case "$soc_hwplatform" in
|
||||
*)
|
||||
setprop vendor.media.target_variant "_kona"
|
||||
if [ $fb_width -le 1600 ]; then
|
||||
setprop vendor.display.lcd_density 560
|
||||
else
|
||||
|
Reference in New Issue
Block a user