summaryrefslogtreecommitdiffstats
path: root/wear_ui.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-06-29 00:27:34 +0200
committerTao Bao <tbao@google.com>2017-06-29 00:32:23 +0200
commit0bc54dd83fee524e4475770df16570923aea13cb (patch)
tree9ff8bcac4005d1f8f3193d81a6a69fe4286f16c2 /wear_ui.cpp
parentMerge "Add missing libziparchive dependency." (diff)
downloadandroid_bootable_recovery-0bc54dd83fee524e4475770df16570923aea13cb.tar
android_bootable_recovery-0bc54dd83fee524e4475770df16570923aea13cb.tar.gz
android_bootable_recovery-0bc54dd83fee524e4475770df16570923aea13cb.tar.bz2
android_bootable_recovery-0bc54dd83fee524e4475770df16570923aea13cb.tar.lz
android_bootable_recovery-0bc54dd83fee524e4475770df16570923aea13cb.tar.xz
android_bootable_recovery-0bc54dd83fee524e4475770df16570923aea13cb.tar.zst
android_bootable_recovery-0bc54dd83fee524e4475770df16570923aea13cb.zip
Diffstat (limited to '')
-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);