recovery: More refactoring of WearUI

This patch performs the following modifications:
- Remove setBackground function, and currentIcon member variable.
- Remove common Progress*, Redraw and EndMenu functions.

Bug: 27407422
Change-Id: Ic3c0e16b67941484c3bc1d04c9b61288e8896808
Signed-off-by: Prashant Malani <pmalani@google.com>
This commit is contained in:
Prashant Malani
2016-03-08 15:56:54 -08:00
parent 7d9fd96dc9
commit 1c7b2230d8
4 changed files with 4 additions and 84 deletions
+2 -2
View File
@@ -51,7 +51,6 @@ static double now() {
}
ScreenRecoveryUI::ScreenRecoveryUI() :
currentIcon(NONE),
installingFrame(0),
locale(nullptr),
rtl_locale(false),
@@ -76,7 +75,8 @@ ScreenRecoveryUI::ScreenRecoveryUI() :
animation_fps(-1),
installing_frames(-1),
stage(-1),
max_stage(-1) {
max_stage(-1),
currentIcon(NONE) {
for (int i = 0; i < 5; i++) {
backgroundIcon[i] = nullptr;