Merge "recovery: Fix the flickering when turning on text mode."
am: 771dfb0016
Change-Id: Ic85356b782c6b83725d85f2104fb30fc81ad2ed1
This commit is contained in:
+8
-9
@@ -1591,15 +1591,14 @@ int main(int argc, char **argv) {
|
||||
ui->Print("Rebooting automatically.\n");
|
||||
}
|
||||
} else if (!just_exit) {
|
||||
status = INSTALL_NONE; // No command specified
|
||||
ui->SetBackground(RecoveryUI::NO_COMMAND);
|
||||
|
||||
// http://b/17489952
|
||||
// If this is an eng or userdebug build, automatically turn on the
|
||||
// text display if no command is specified.
|
||||
if (is_ro_debuggable()) {
|
||||
ui->ShowText(true);
|
||||
}
|
||||
// If this is an eng or userdebug build, automatically turn on the text display if no command
|
||||
// is specified. Note that this should be called before setting the background to avoid
|
||||
// flickering the background image.
|
||||
if (is_ro_debuggable()) {
|
||||
ui->ShowText(true);
|
||||
}
|
||||
status = INSTALL_NONE; // No command specified
|
||||
ui->SetBackground(RecoveryUI::NO_COMMAND);
|
||||
}
|
||||
|
||||
if (status == INSTALL_ERROR || status == INSTALL_CORRUPT) {
|
||||
|
||||
Reference in New Issue
Block a user