aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYabin Cui2016-02-17 14:21:52 -0600
committerYabin Cui2016-02-23 13:03:10 -0600
commit99281df8e2eb6a302ccbcfd790a6889392541264 (patch)
tree2126fe6de4564bea444d6514ef75a8d71769b1d4 /install.h
parent089fe38ac5a3f12588cc5728ee11a1b0c6f436f3 (diff)
downloadplatform-bootable-recovery-99281df8e2eb6a302ccbcfd790a6889392541264.tar.gz
platform-bootable-recovery-99281df8e2eb6a302ccbcfd790a6889392541264.tar.xz
platform-bootable-recovery-99281df8e2eb6a302ccbcfd790a6889392541264.zip
recovery: check battery level before installing package.
Bug: 26879394 Change-Id: I63dce5bc50c2e104129f1bcab7d3cad5682bf45d (cherry picked from commit 53e7a0628f4acc95481f556ba51800df4a1de37d)
Diffstat (limited to 'install.h')
-rw-r--r--install.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.h b/install.h
index 680499db..f92f061d 100644
--- a/install.h
+++ b/install.h
@@ -23,7 +23,7 @@
23extern "C" { 23extern "C" {
24#endif 24#endif
25 25
26enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE }; 26enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE, INSTALL_SKIPPED };
27// Install the package specified by root_path. If INSTALL_SUCCESS is 27// Install the package specified by root_path. If INSTALL_SUCCESS is
28// returned and *wipe_cache is true on exit, caller should wipe the 28// returned and *wipe_cache is true on exit, caller should wipe the
29// cache partition. 29// cache partition.