aboutsummaryrefslogtreecommitdiffstats
path: root/mtdutils
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-03-06 16:16:05 -0800
committerDoug Zongker <dougz@android.com>2014-03-11 11:10:00 -0700
commit39cf417e17011a72dd39acfe4cc8c90af26bdbaf (patch)
treeba41f425926bfe68baf488f8ae5b0044c2a19f73 /mtdutils
parenteac881c952fc6be0beeb5f719e3a70e651f3610e (diff)
downloadbootable_recovery-39cf417e17011a72dd39acfe4cc8c90af26bdbaf.zip
bootable_recovery-39cf417e17011a72dd39acfe4cc8c90af26bdbaf.tar.gz
bootable_recovery-39cf417e17011a72dd39acfe4cc8c90af26bdbaf.tar.bz2
remove pixelflinger from recovery
Recovery now draws directly to the framebuffer by rolling its own graphics code, rather than depending on libpixelflinger. The recovery UI is modified slightly to eliminate operations that are slow with the software implementation: when the text display / menu is turned on, it now appears on a black background instead of a dimmed version of the recovery icon. There's probably substantial room for optimization of the graphics operations. Bug: 12131110 Change-Id: Iab6520e0a7aaec39e2ce39377c10aef82ae0c595
Diffstat (limited to 'mtdutils')
-rw-r--r--mtdutils/flash_image.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mtdutils/flash_image.c b/mtdutils/flash_image.c
index a39d600..5657dfc 100644
--- a/mtdutils/flash_image.c
+++ b/mtdutils/flash_image.c
@@ -24,6 +24,9 @@
#include "cutils/log.h"
#include "mtdutils.h"
+#ifdef LOG_TAG
+#undef LOG_TAG
+#endif
#define LOG_TAG "flash_image"
#define HEADER_SIZE 2048 // size of header to compare for equality