Merge "wear_ui: Remove dead/duplicate codes." am: f722fcf0d4
am: c9e411858f
Change-Id: Ib7ed03df1c1f23d4419cb932495f26f15006e3be
This commit is contained in:
11
wear_ui.cpp
11
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);
|
||||
|
||||
Reference in New Issue
Block a user