summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-04-11 01:53:53 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-11 01:53:54 +0200
commit6d1bd3d3d4f7e715b2692696eb75e1927a4cd954 (patch)
treef7340531157047f6de02531255343c84982910b8
parentMerge "Auto-detect whether to use the long-press UI." (diff)
parentUpdate the comments for package installer commands (diff)
downloadandroid_bootable_recovery-6d1bd3d3d4f7e715b2692696eb75e1927a4cd954.tar
android_bootable_recovery-6d1bd3d3d4f7e715b2692696eb75e1927a4cd954.tar.gz
android_bootable_recovery-6d1bd3d3d4f7e715b2692696eb75e1927a4cd954.tar.bz2
android_bootable_recovery-6d1bd3d3d4f7e715b2692696eb75e1927a4cd954.tar.lz
android_bootable_recovery-6d1bd3d3d4f7e715b2692696eb75e1927a4cd954.tar.xz
android_bootable_recovery-6d1bd3d3d4f7e715b2692696eb75e1927a4cd954.tar.zst
android_bootable_recovery-6d1bd3d3d4f7e715b2692696eb75e1927a4cd954.zip
-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.
//