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.h
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.h')
-rw-r--r--install.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/install.h b/install.h
index 7f66a51c..1ec01e81 100644
--- a/install.h
+++ b/install.h
@@ -20,10 +20,9 @@
20#include <string> 20#include <string>
21#include <ziparchive/zip_archive.h> 21#include <ziparchive/zip_archive.h>
22 22
23#include "common.h"
24
25enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE, INSTALL_SKIPPED, 23enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE, INSTALL_SKIPPED,
26 INSTALL_RETRY }; 24 INSTALL_RETRY };
25
27// Install the package specified by root_path. If INSTALL_SUCCESS is 26// Install the package specified by root_path. If INSTALL_SUCCESS is
28// returned and *wipe_cache is true on exit, caller should wipe the 27// returned and *wipe_cache is true on exit, caller should wipe the
29// cache partition. 28// cache partition.