summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-04-11 01:14:52 +0200
committerTao Bao <tbao@google.com>2015-04-11 01:18:32 +0200
commitb07e1f3a3a5dbe3b2e733681080b6c692164a632 (patch)
tree582095b554cc8fa36e73a91c4b4e57fe2d38b2ef /install.cpp
parentMerge "Switch minadb over to C++." (diff)
downloadandroid_bootable_recovery-b07e1f3a3a5dbe3b2e733681080b6c692164a632.tar
android_bootable_recovery-b07e1f3a3a5dbe3b2e733681080b6c692164a632.tar.gz
android_bootable_recovery-b07e1f3a3a5dbe3b2e733681080b6c692164a632.tar.bz2
android_bootable_recovery-b07e1f3a3a5dbe3b2e733681080b6c692164a632.tar.lz
android_bootable_recovery-b07e1f3a3a5dbe3b2e733681080b6c692164a632.tar.xz
android_bootable_recovery-b07e1f3a3a5dbe3b2e733681080b6c692164a632.tar.zst
android_bootable_recovery-b07e1f3a3a5dbe3b2e733681080b6c692164a632.zip
Diffstat (limited to 'install.cpp')
-rw-r--r--install.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp
index 662f81c76..c7d382f3e 100644
--- a/install.cpp
+++ b/install.cpp
@@ -88,7 +88,7 @@ try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache) {
// fill up the next <frac> part of of the progress bar
// over <secs> seconds. If <secs> is zero, use
// set_progress commands to manually control the
- // progress of this segment of the bar
+ // progress of this segment of the bar.
//
// set_progress <frac>
// <frac> should be between 0.0 and 1.0; sets the
@@ -107,6 +107,18 @@ try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache) {
// ui_print <string>
// display <string> on the screen.
//
+ // wipe_cache
+ // a wipe of cache will be performed following a successful
+ // installation.
+ //
+ // clear_display
+ // turn off the text display.
+ //
+ // enable_reboot
+ // packages can explicitly request that they want the user
+ // to be able to reboot during installation (useful for
+ // debugging packages that don't exit).
+ //
// - the name of the package zip file.
//