Allow entering rescue mode via recovery UI.

Only enabled on debuggable builds.

Bug: 128415917
Test: Sideload package on taimen.
Test: Choose "Enter rescue" from recovery UI.
Change-Id: I913dbdbcffd3179e6fa72ca862f74ca8f1364b02
Merged-In: I913dbdbcffd3179e6fa72ca862f74ca8f1364b02
(cherry picked from commit c6dc325e88)
This commit is contained in:
Tao Bao
2019-04-26 12:20:03 -07:00
parent d0052c30ce
commit 378bfbfc5c
9 changed files with 60 additions and 17 deletions
+1 -1
View File
@@ -18,4 +18,4 @@
#include <recovery_ui/ui.h>
int apply_from_adb(RecoveryUI* ui);
int ApplyFromAdb(RecoveryUI* ui, bool rescue_mode);