Support custom graphics.c. Set the recovery timeout to 1 hour.

This commit is contained in:
Koushik Dutta 2011-11-16 16:47:53 -08:00
parent 0df56f4db4
commit 0e7d88613a
3 changed files with 8 additions and 3 deletions

View File

@ -34,7 +34,7 @@ else
RECOVERY_NAME := CWM-based Recovery
endif
RECOVERY_VERSION := $(RECOVERY_NAME) v5.0.2.7
RECOVERY_VERSION := $(RECOVERY_NAME) v5.5.0.0
LOCAL_CFLAGS += -DRECOVERY_VERSION="$(RECOVERY_VERSION)"
RECOVERY_API_VERSION := 2

View File

@ -1,7 +1,12 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := graphics.c events.c resources.c
LOCAL_SRC_FILES := events.c resources.c
ifneq ($(BOARD_CUSTOM_GRAPHICS),)
LOCAL_SRC_FILES += $(BOARD_CUSTOM_GRAPHICS)
else
LOCAL_SRC_FILES += graphics.c
endif
LOCAL_C_INCLUDES +=\
external/libpng\

2
ui.c
View File

@ -55,7 +55,7 @@ static int gShowBackButton = 0;
#define CHAR_HEIGHT 16
#endif
#define UI_WAIT_KEY_TIMEOUT_SEC 120
#define UI_WAIT_KEY_TIMEOUT_SEC 3600
UIParameters ui_parameters = {
6, // indeterminate progress bar frames