Fix dpi issue on portrait ui for tangorpro
280 is too big for portrait UI design, update to 150 to match the
seahawk
Test: Flash the build and verify the icon size
Fix: 338471589
Change-Id: I79cd2b47dfb9795c67286b566c2be6b402000345
(cherry picked from commit fb06ebf55d4f160917494126777329649431dd05)
diff --git a/tangorpro_car/BoardConfig.mk b/tangorpro_car/BoardConfig.mk
index 691fdc4..ff875e5 100644
--- a/tangorpro_car/BoardConfig.mk
+++ b/tangorpro_car/BoardConfig.mk
@@ -14,6 +14,9 @@
# limitations under the License.
#
-# * TARGET_SCREEN_DENSITY is scaled down by 1.6x
-
-TARGET_SCREEN_DENSITY := 200
+# Adjust the TARGET_SCREEN_DENSITY based on the target name
+ifeq (,$(filter tangorpro_ui_portrait_car, $(TARGET_PRODUCT)))
+ TARGET_SCREEN_DENSITY := 280
+else
+ TARGET_SCREEN_DENSITY := 150
+endif