aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-04-11 00:25:32 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-11 00:25:32 +0000
commit7438ccc386b1797ed2465def816a664df074cf79 (patch)
treef7340531157047f6de02531255343c84982910b8
parent68dfb5a9365adfa5bfb3cc8834b07c2bd00f9799 (diff)
parent57ca725d874c8434284a4345ac24c55d207367ad (diff)
downloadbootable_recovery-7438ccc386b1797ed2465def816a664df074cf79.zip
bootable_recovery-7438ccc386b1797ed2465def816a664df074cf79.tar.gz
bootable_recovery-7438ccc386b1797ed2465def816a664df074cf79.tar.bz2
am 57ca725d: am 6d1bd3d3: Merge "Update the comments for package installer commands"
* commit '57ca725d874c8434284a4345ac24c55d207367ad': Update the comments for package installer commands
-rw-r--r--install.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp
index 662f81c..c7d382f 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.
//