diff options
author | Tao Bao <tbao@google.com> | 2015-04-11 02:25:32 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-11 02:25:32 +0200 |
commit | 7438ccc386b1797ed2465def816a664df074cf79 (patch) | |
tree | f7340531157047f6de02531255343c84982910b8 | |
parent | am 34bbc7d4: am f19007a5: Merge "Auto-detect whether to use the long-press UI." (diff) | |
parent | am 6d1bd3d3: Merge "Update the comments for package installer commands" (diff) | |
download | android_bootable_recovery-7438ccc386b1797ed2465def816a664df074cf79.tar android_bootable_recovery-7438ccc386b1797ed2465def816a664df074cf79.tar.gz android_bootable_recovery-7438ccc386b1797ed2465def816a664df074cf79.tar.bz2 android_bootable_recovery-7438ccc386b1797ed2465def816a664df074cf79.tar.lz android_bootable_recovery-7438ccc386b1797ed2465def816a664df074cf79.tar.xz android_bootable_recovery-7438ccc386b1797ed2465def816a664df074cf79.tar.zst android_bootable_recovery-7438ccc386b1797ed2465def816a664df074cf79.zip |
-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. // |