diff options
author | Hridya Valsaraju <hridya@google.com> | 2018-09-19 06:49:28 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-09-19 06:49:28 +0200 |
commit | 144ea11b9350e9b4e9f379b3541b5b305a993037 (patch) | |
tree | 89f50f4dddb92d8aa8a7151e6febed97d80ef0bf /recovery_main.cpp | |
parent | Merge "Trigger the logging when prompting for wipe." am: 49dc0fed26 (diff) | |
parent | Merge "Show 'Enter Fastboot' menu item only if device supports fastbootd" (diff) | |
download | android_bootable_recovery-144ea11b9350e9b4e9f379b3541b5b305a993037.tar android_bootable_recovery-144ea11b9350e9b4e9f379b3541b5b305a993037.tar.gz android_bootable_recovery-144ea11b9350e9b4e9f379b3541b5b305a993037.tar.bz2 android_bootable_recovery-144ea11b9350e9b4e9f379b3541b5b305a993037.tar.lz android_bootable_recovery-144ea11b9350e9b4e9f379b3541b5b305a993037.tar.xz android_bootable_recovery-144ea11b9350e9b4e9f379b3541b5b305a993037.tar.zst android_bootable_recovery-144ea11b9350e9b4e9f379b3541b5b305a993037.zip |
Diffstat (limited to 'recovery_main.cpp')
-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 c3168fc23..29a5865a2 100644 --- a/recovery_main.cpp +++ b/recovery_main.cpp @@ -425,6 +425,10 @@ int main(int argc, char** argv) { device->RemoveMenuItemForAction(Device::WIPE_CACHE); } + if (!android::base::GetBoolProperty("ro.boot.logical_partitions", false)) { + device->RemoveMenuItemForAction(Device::ENTER_FASTBOOT); + } + ui->SetBackground(RecoveryUI::NONE); if (show_text) ui->ShowText(true); |