aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao2016-10-13 17:17:04 -0500
committerTao Bao2016-10-26 16:36:42 -0500
commitc0319b60f56d445c2d1c74f551e01f069b028fe6 (patch)
tree2df23be127c0e92bf1e1be19dada2dd2e4182479 /install.cpp
parentebc141dff27c53d7043bf7fc61cd435ac4d13160 (diff)
downloadplatform-bootable-recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar.gz
platform-bootable-recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar.xz
platform-bootable-recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.zip
Some cleanups to recovery.
- Remove the duplicate gCurrentUI variable in recovery.cpp; - Refactor the load/save of locale functions; - Clean up ui_print() to get rid of 256-byte buffer limit; - Declare ui in common.h; - Move the typedef of Volume into roots.h. Test: Build and boot into recovery image. Change-Id: Ia28c116858ca754133127a5ff9c722af67ad55b7
Diffstat (limited to 'install.cpp')
-rw-r--r--install.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/install.cpp b/install.cpp
index 0f9088a7..3871271f 100644
--- a/install.cpp
+++ b/install.cpp
@@ -43,8 +43,6 @@
43#include "ui.h" 43#include "ui.h"
44#include "verifier.h" 44#include "verifier.h"
45 45
46extern RecoveryUI* ui;
47
48#define ASSUMED_UPDATE_BINARY_NAME "META-INF/com/google/android/update-binary" 46#define ASSUMED_UPDATE_BINARY_NAME "META-INF/com/google/android/update-binary"
49#define PUBLIC_KEYS_FILE "/res/keys" 47#define PUBLIC_KEYS_FILE "/res/keys"
50static constexpr const char* METADATA_PATH = "META-INF/com/android/metadata"; 48static constexpr const char* METADATA_PATH = "META-INF/com/android/metadata";