Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c0e9854 authored by Hridya Valsaraju's avatar Hridya Valsaraju Committed by android-build-merger
Browse files

Merge "Show 'Enter Fastboot' menu item only if device supports fastbootd"

am: 9c675b09

Change-Id: Ia5eae15ea7de7cc822e18ecd3f1fee55132c4f4c
parents cda59a70 9c675b09
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);