From ba535e3b6cad2be4f42aa0630b5b664c4b80408d Mon Sep 17 00:00:00 2001 From: big biff Date: Tue, 29 Jul 2014 00:44:47 +0000 Subject: add 1440x2560 theme to TWRP Based on work by Chris Phelps https://github.com/TEAM-Gummy/android_bootable_recovery_TWRP/commit/58963336b81ea8bcc03b8d7e4dfe4598f5afc972 https://github.com/TEAM-Gummy/android_bootable_recovery_TWRP/commit/4ec10303cb76592044c3aa449dc68a33356a6e09 https://github.com/TEAM-Gummy/android_bootable_recovery_TWRP/commit/c48bd2412332916eafd0db727d923c8c16cd35ed https://github.com/TEAM-Gummy/android_bootable_recovery_TWRP/commit/f0944ded30e98917ca85db0185add1207ea5f4b6 But with other original changes too. Change-Id: I809a37a3983187e62568a1e2403b6637a692220d --- gui/Android.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gui/Android.mk') diff --git a/gui/Android.mk b/gui/Android.mk index fa40e0fae..2acbc92c8 100644 --- a/gui/Android.mk +++ b/gui/Android.mk @@ -96,10 +96,12 @@ 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), 320x480 480x800 480x854 540x960 720x1280 800x1280 1080x1920 1200x1920 1600x2560),) + ifneq ($(filter $(DEVICE_RESOLUTION), $(PORTRAIT)),) TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/portrait/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/ - else ifneq ($(filter $(DEVICE_RESOLUTION), 800x480 1024x600 1024x768 1280x800 1920x1200 2560x1600),) + else ifneq ($(filter $(DEVICE_RESOLUTION), $(LANDSCAPE)),) TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/landscape/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/ endif else -- cgit v1.2.3