summaryrefslogtreecommitdiffstats
path: root/gui/Android.mk
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-07-29 02:27:14 +0200
committerGerrit Code Review <gerrit2@gerrit>2014-07-29 02:27:14 +0200
commit7d4cedc1d87d250db59b5cf7feac94bc6aefaa6f (patch)
tree0ed259ee9c6e5f2106fae19fd4013281a98f1e09 /gui/Android.mk
parentadd 1440x2560 theme to TWRP (diff)
downloadandroid_bootable_recovery-7d4cedc1d87d250db59b5cf7feac94bc6aefaa6f.tar
android_bootable_recovery-7d4cedc1d87d250db59b5cf7feac94bc6aefaa6f.tar.gz
android_bootable_recovery-7d4cedc1d87d250db59b5cf7feac94bc6aefaa6f.tar.bz2
android_bootable_recovery-7d4cedc1d87d250db59b5cf7feac94bc6aefaa6f.tar.lz
android_bootable_recovery-7d4cedc1d87d250db59b5cf7feac94bc6aefaa6f.tar.xz
android_bootable_recovery-7d4cedc1d87d250db59b5cf7feac94bc6aefaa6f.tar.zst
android_bootable_recovery-7d4cedc1d87d250db59b5cf7feac94bc6aefaa6f.zip
Diffstat (limited to 'gui/Android.mk')
-rw-r--r--gui/Android.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/Android.mk b/gui/Android.mk
index 2acbc92c8..fa40e0fae 100644
--- a/gui/Android.mk
+++ b/gui/Android.mk
@@ -96,12 +96,10 @@ TWRP_RES_LOC := $(commands_recovery_local_path)/gui/devices/common/res
TWRP_COMMON_XML := $(hide) echo "No common TWRP XML resources"
ifeq ($(TW_CUSTOM_THEME),)
- PORTRAIT := 320x480 480x800 480x854 540x960 720x1280 800x1280 1080x1920 1200x1920 1440x2560 1600x2560
- LANDSCAPE := 800x480 1024x600 1024x768 1280x800 1920x1200 2560x1600
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION)/res
- ifneq ($(filter $(DEVICE_RESOLUTION), $(PORTRAIT)),)
+ ifneq ($(filter $(DEVICE_RESOLUTION), 320x480 480x800 480x854 540x960 720x1280 800x1280 1080x1920 1200x1920 1600x2560),)
TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/portrait/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/
- else ifneq ($(filter $(DEVICE_RESOLUTION), $(LANDSCAPE)),)
+ else ifneq ($(filter $(DEVICE_RESOLUTION), 800x480 1024x600 1024x768 1280x800 1920x1200 2560x1600),)
TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/landscape/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/
endif
else