recovery: Also hide rescue mode from non eng builds

Change-Id: I071f3baa6f6ee672a6d76fc7cb8b6a65b4988027
This commit is contained in:
Michael Bestas 2019-09-27 20:30:04 +03:00 committed by zlewchan
parent e211e4dc3d
commit 2384f9a92e

View file

@ -455,9 +455,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 (!IsRoDebuggable()) {
device->RemoveMenuItemForAction(Device::ENTER_RESCUE);
}