recovery: split in submenus
Squashed:
Author: Alessandro <ales.astone@gmail.com>
Date: Mon Apr 13 00:39:37 2020 +0200
recovery: fixup `split in submenus`
* If we return an action of type MENU_*, we will quickly redraw
the menu rather than going through finish_recovery(), which
is unnecessarily slow.
Change-Id: Ie7ade16a3e6ae97457fd45172af60f743436596d
Co-authored-by: aleasto <ales.astone@gmail.com>
Change-Id: I4426689634ca477955b67d2264999f450f02067f
diff --git a/recovery_main.cpp b/recovery_main.cpp
index 65e3c6b..12b9429 100644
--- a/recovery_main.cpp
+++ b/recovery_main.cpp
@@ -592,6 +592,7 @@
case Device::ENTER_RECOVERY:
LOG(INFO) << "Entering recovery";
fastboot = false;
+ device->GoHome();
break;
case Device::REBOOT: