commit | 3cc3b2660ddb41cef41396e16ec80394790a4c3e | [log] [tgz] |
---|---|---|
author | Michael Bestas <mkbestas@lineageos.org> | Fri Sep 27 20:30:04 2019 +0300 |
committer | Michael Bestas <mkbestas@lineageos.org> | Sat Mar 12 21:29:22 2022 +0200 |
tree | 5b403fee1433ad863a8af1009cf64d9d99127113 | |
parent | 93cd1275ec2dda421801bf3de07bc4a48ee19ef4 [diff] |
recovery: Also hide rescue mode from non eng builds Change-Id: I071f3baa6f6ee672a6d76fc7cb8b6a65b4988027
diff --git a/recovery_main.cpp b/recovery_main.cpp index 21dcdad..9787f6d 100644 --- a/recovery_main.cpp +++ b/recovery_main.cpp
@@ -451,9 +451,6 @@ if (get_build_type() != "eng") { device->RemoveMenuItemForAction(Device::RUN_GRAPHICS_TEST); device->RemoveMenuItemForAction(Device::RUN_LOCALE_TEST); - } - - if (!IsRoDebuggable()) { device->RemoveMenuItemForAction(Device::ENTER_RESCUE); }