aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2019-09-27 20:30:04 +0300
committerMichael Bestas <mkbestas@lineageos.org>2019-12-11 19:08:08 +0200
commita8b4ed344c88d7cb60d710117ae49aaec2cd926d (patch)
treeda01f5aa5598d6c0d54511fa0ee3a2217c87a7a7
parent6108e70f9fcd30acb25d3d6ca05527bb1e3e69ad (diff)
downloadandroid_bootable_recovery-a8b4ed344c88d7cb60d710117ae49aaec2cd926d.tar.gz
android_bootable_recovery-a8b4ed344c88d7cb60d710117ae49aaec2cd926d.tar.bz2
android_bootable_recovery-a8b4ed344c88d7cb60d710117ae49aaec2cd926d.zip
recovery: Also hide rescue mode from non eng builds
Change-Id: I071f3baa6f6ee672a6d76fc7cb8b6a65b4988027
-rw-r--r--recovery_main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/recovery_main.cpp b/recovery_main.cpp
index 0988afd2..62e032ed 100644
--- a/recovery_main.cpp
+++ b/recovery_main.cpp
@@ -428,9 +428,6 @@ int main(int argc, char** argv) {
if (get_build_type() != "eng") {
device->RemoveMenuItemForAction(Device::RUN_GRAPHICS_TEST);
device->RemoveMenuItemForAction(Device::RUN_LOCALE_TEST);
- }
-
- if (!is_ro_debuggable()) {
device->RemoveMenuItemForAction(Device::ENTER_RESCUE);
}