diff options
author | Doug Zongker <dougz@android.com> | 2009-06-12 21:24:39 +0200 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2009-06-12 23:05:03 +0200 |
commit | d9c9d10d9da76f067d3955bea71f7bb39e859fa5 (patch) | |
tree | 1e49a3a616c3147f871e79b1b15e2b2a63379cc1 /install.c | |
parent | edify extensions for OTA package installation, part 2 (diff) | |
download | android_bootable_recovery-d9c9d10d9da76f067d3955bea71f7bb39e859fa5.tar android_bootable_recovery-d9c9d10d9da76f067d3955bea71f7bb39e859fa5.tar.gz android_bootable_recovery-d9c9d10d9da76f067d3955bea71f7bb39e859fa5.tar.bz2 android_bootable_recovery-d9c9d10d9da76f067d3955bea71f7bb39e859fa5.tar.lz android_bootable_recovery-d9c9d10d9da76f067d3955bea71f7bb39e859fa5.tar.xz android_bootable_recovery-d9c9d10d9da76f067d3955bea71f7bb39e859fa5.tar.zst android_bootable_recovery-d9c9d10d9da76f067d3955bea71f7bb39e859fa5.zip |
Diffstat (limited to '')
-rw-r--r-- | install.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -196,6 +196,9 @@ try_update_binary(const char *path, ZipArchive *zip) { // arrange to install the contents of <filename> in the // given partition on reboot. // + // ui_print <string> + // display <string> on the screen. + // // - the name of the package zip file. // @@ -248,6 +251,13 @@ try_update_binary(const char *path, ZipArchive *zip) { firmware_filename = strdup(filename); } } + } else if (strcmp(command, "ui_print") == 0) { + char* str = strtok(NULL, "\n"); + if (str) { + ui_print(str); + } else { + ui_print("\n"); + } } else { LOGE("unknown command [%s]\n", command); } |