Merge "Remove outdated reference to icon_installing.png"

This commit is contained in:
Tao Bao 2017-01-04 01:26:55 +00:00 committed by Gerrit Code Review
commit 71633ebfb0

View file

@ -209,10 +209,12 @@ bool WearRecoveryUI::Init() {
return false;
}
LoadBitmap("icon_installing", &backgroundIcon[INSTALLING_UPDATE]);
backgroundIcon[ERASING] = backgroundIcon[INSTALLING_UPDATE];
LoadBitmap("icon_error", &backgroundIcon[ERROR]);
backgroundIcon[NO_COMMAND] = backgroundIcon[ERROR];
// This leaves backgroundIcon[INSTALLING_UPDATE] and backgroundIcon[ERASING]
// as NULL which is fine since draw_background_locked() doesn't use them.
return true;
}