From d16ec83d2df1d6af236e77ec45ef26974fed7def Mon Sep 17 00:00:00 2001 From: Shrikara B Date: Sun, 15 Mar 2020 20:57:45 +0530 Subject: [PATCH] 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 --- init/init.qcom.early_boot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/init/init.qcom.early_boot.sh b/init/init.qcom.early_boot.sh index f74dcce..57f6dea 100644 --- a/init/init.qcom.early_boot.sh +++ b/init/init.qcom.early_boot.sh @@ -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