diff options
Diffstat (limited to '')
-rw-r--r-- | recovery_main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recovery_main.cpp b/recovery_main.cpp index 5f3ab76dd..38e1db73b 100644 --- a/recovery_main.cpp +++ b/recovery_main.cpp @@ -423,6 +423,10 @@ int main(int argc, char** argv) { device->RemoveMenuItemForAction(Device::ENTER_FASTBOOT); } + if (!is_ro_debuggable()) { + device->RemoveMenuItemForAction(Device::ENTER_RESCUE); + } + ui->SetBackground(RecoveryUI::NONE); if (show_text) ui->ShowText(true); |