recovery: Allow bypassing signature verification on all build types
Change-Id: I8dc17c067841335895a5cb9879a89b6ba5eeea51
diff --git a/recovery.cpp b/recovery.cpp
index af5ef94..952dc8f 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -176,12 +176,8 @@
}
bool ask_to_continue_unverified(Device* device) {
- if (get_build_type() == "user") {
- return false;
- } else {
- device->GetUI()->SetProgressType(RecoveryUI::EMPTY);
- return yes_no(device, "Signature verification failed", "Install anyway?");
- }
+ device->GetUI()->SetProgressType(RecoveryUI::EMPTY);
+ return yes_no(device, "Signature verification failed", "Install anyway?");
}
bool ask_to_continue_downgrade(Device* device) {