summaryrefslogtreecommitdiffstats
path: root/gui/Android.mk
diff options
context:
space:
mode:
authorniks255 <niks255@mail.ru>2017-01-15 12:39:48 +0100
committerDees Troy <dees_troy@teamw.in>2017-01-18 16:49:11 +0100
commitd73903c8ebcd6688ccff1591f173a4ed8ed1fcdc (patch)
tree12778efd59f681935716ba46d289ce7af20dbbfc /gui/Android.mk
parentTWRP device version string (diff)
downloadandroid_bootable_recovery-d73903c8ebcd6688ccff1591f173a4ed8ed1fcdc.tar
android_bootable_recovery-d73903c8ebcd6688ccff1591f173a4ed8ed1fcdc.tar.gz
android_bootable_recovery-d73903c8ebcd6688ccff1591f173a4ed8ed1fcdc.tar.bz2
android_bootable_recovery-d73903c8ebcd6688ccff1591f173a4ed8ed1fcdc.tar.lz
android_bootable_recovery-d73903c8ebcd6688ccff1591f173a4ed8ed1fcdc.tar.xz
android_bootable_recovery-d73903c8ebcd6688ccff1591f173a4ed8ed1fcdc.tar.zst
android_bootable_recovery-d73903c8ebcd6688ccff1591f173a4ed8ed1fcdc.zip
Diffstat (limited to '')
-rw-r--r--gui/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/Android.mk b/gui/Android.mk
index dab35a4ce..61bd10228 100644
--- a/gui/Android.mk
+++ b/gui/Android.mk
@@ -98,6 +98,9 @@ TWRP_NEW_THEME := true
ifeq ($(TW_CUSTOM_THEME),)
ifeq ($(TW_THEME),)
+ ifeq ($(DEVICE_RESOLUTION),)
+ DEVICE_RESOLUTION := $(TARGET_SCREEN_WIDTH)x$(TARGET_SCREEN_HEIGHT)
+ endif
# This converts the old DEVICE_RESOLUTION flag to the new TW_THEME flag
PORTRAIT_MDPI := 320x480 480x800 480x854 540x960
PORTRAIT_HDPI := 720x1280 800x1280 1080x1920 1200x1920 1440x2560 1600x2560