summaryrefslogtreecommitdiffstats
path: root/wear_ui.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-06-29 06:11:25 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-06-29 06:11:25 +0200
commitfa9509d016be5f1ef650109e8a9c4628ce27407e (patch)
tree96b567e7fabb636c05be07c63e137adbc71e0a89 /wear_ui.cpp
parentMerge "Add missing libziparchive dependency." am: f9fe6a705d am: 78ff0832cb (diff)
parentMerge "wear_ui: Remove dead/duplicate codes." am: f722fcf0d4 (diff)
downloadandroid_bootable_recovery-fa9509d016be5f1ef650109e8a9c4628ce27407e.tar
android_bootable_recovery-fa9509d016be5f1ef650109e8a9c4628ce27407e.tar.gz
android_bootable_recovery-fa9509d016be5f1ef650109e8a9c4628ce27407e.tar.bz2
android_bootable_recovery-fa9509d016be5f1ef650109e8a9c4628ce27407e.tar.lz
android_bootable_recovery-fa9509d016be5f1ef650109e8a9c4628ce27407e.tar.xz
android_bootable_recovery-fa9509d016be5f1ef650109e8a9c4628ce27407e.tar.zst
android_bootable_recovery-fa9509d016be5f1ef650109e8a9c4628ce27407e.zip
Diffstat (limited to 'wear_ui.cpp')
-rw-r--r--wear_ui.cpp11
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);