commit | 6f5768a25443221a8e7ddbbe2f29e1a29190df44 | [log] [tgz] |
---|---|---|
author | Michael Bestas <mkbestas@lineageos.org> | Fri Sep 27 20:30:04 2019 +0300 |
committer | Tim Zimmermann <tim@linux4.de> | Tue Mar 05 06:10:00 2024 +0100 |
tree | 299c054aaeeb0bca1d6c5f69eed8618cec590086 | |
parent | 7431e0fe58612189056ba61b6cca2bcf4a7ab25d [diff] |
recovery: Also hide rescue mode from non eng builds Change-Id: I071f3baa6f6ee672a6d76fc7cb8b6a65b4988027
diff --git a/recovery_main.cpp b/recovery_main.cpp index 7e3adda..89c11c7 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); }