diff options
author | Tao Bao <tbao@google.com> | 2015-04-11 01:59:56 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-11 01:59:56 +0200 |
commit | 57ca725d874c8434284a4345ac24c55d207367ad (patch) | |
tree | f7340531157047f6de02531255343c84982910b8 | |
parent | am f19007a5: Merge "Auto-detect whether to use the long-press UI." (diff) | |
parent | Merge "Update the comments for package installer commands" (diff) | |
download | android_bootable_recovery-57ca725d874c8434284a4345ac24c55d207367ad.tar android_bootable_recovery-57ca725d874c8434284a4345ac24c55d207367ad.tar.gz android_bootable_recovery-57ca725d874c8434284a4345ac24c55d207367ad.tar.bz2 android_bootable_recovery-57ca725d874c8434284a4345ac24c55d207367ad.tar.lz android_bootable_recovery-57ca725d874c8434284a4345ac24c55d207367ad.tar.xz android_bootable_recovery-57ca725d874c8434284a4345ac24c55d207367ad.tar.zst android_bootable_recovery-57ca725d874c8434284a4345ac24c55d207367ad.zip |
Diffstat (limited to '')
-rw-r--r-- | install.cpp | 14 |
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. // |