diff options
author | Hridya Valsaraju <hridya@google.com> | 2018-09-18 23:48:01 +0200 |
---|---|---|
committer | Hridya Valsaraju <hridya@google.com> | 2018-09-18 23:53:31 +0200 |
commit | daa301e3bd0a91d7761309048e857571075860de (patch) | |
tree | 2288eb7b8ecbf74a274f8dc534dfcfd6034cf1d6 | |
parent | Merge "minui: Track the name change to minui related properties." (diff) | |
download | android_bootable_recovery-daa301e3bd0a91d7761309048e857571075860de.tar android_bootable_recovery-daa301e3bd0a91d7761309048e857571075860de.tar.gz android_bootable_recovery-daa301e3bd0a91d7761309048e857571075860de.tar.bz2 android_bootable_recovery-daa301e3bd0a91d7761309048e857571075860de.tar.lz android_bootable_recovery-daa301e3bd0a91d7761309048e857571075860de.tar.xz android_bootable_recovery-daa301e3bd0a91d7761309048e857571075860de.tar.zst android_bootable_recovery-daa301e3bd0a91d7761309048e857571075860de.zip |
-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); |