diff options
author | Tao Bao <tbao@google.com> | 2017-06-29 06:03:25 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-06-29 06:03:25 +0200 |
commit | c9e411858fc9c34310e72d605c8de142c83f3f05 (patch) | |
tree | b7e25a5164059a973b5841d8650603c7e4cc5a78 /wear_ui.cpp | |
parent | Merge "Add missing libziparchive dependency." (diff) | |
parent | Merge "wear_ui: Remove dead/duplicate codes." (diff) | |
download | android_bootable_recovery-c9e411858fc9c34310e72d605c8de142c83f3f05.tar android_bootable_recovery-c9e411858fc9c34310e72d605c8de142c83f3f05.tar.gz android_bootable_recovery-c9e411858fc9c34310e72d605c8de142c83f3f05.tar.bz2 android_bootable_recovery-c9e411858fc9c34310e72d605c8de142c83f3f05.tar.lz android_bootable_recovery-c9e411858fc9c34310e72d605c8de142c83f3f05.tar.xz android_bootable_recovery-c9e411858fc9c34310e72d605c8de142c83f3f05.tar.zst android_bootable_recovery-c9e411858fc9c34310e72d605c8de142c83f3f05.zip |
Diffstat (limited to 'wear_ui.cpp')
-rw-r--r-- | wear_ui.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/wear_ui.cpp b/wear_ui.cpp index 640f04a79..a29746cdc 100644 --- a/wear_ui.cpp +++ b/wear_ui.cpp @@ -363,17 +363,6 @@ void WearRecoveryUI::ShowFile(const char* filename) { fclose(fp); } -void WearRecoveryUI::ClearText() { - pthread_mutex_lock(&updateMutex); - text_col_ = 0; - text_row_ = 0; - text_top_ = 1; - for (size_t i = 0; i < text_rows_; ++i) { - memset(text_[i], 0, text_cols_ + 1); - } - pthread_mutex_unlock(&updateMutex); -} - void WearRecoveryUI::PrintOnScreenOnly(const char *fmt, ...) { va_list ap; va_start(ap, fmt); |