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

Commit 01e30c8f authored by Greg Ross's avatar Greg Ross
Browse files

recovery: Add device codename to recovery screen

Add the device codename ot the title lines in the recovery screen
the same way that fastbootd's title lines do.

Change-Id: Ieb914d65119ab66beabd1d486a85f49901bb3f3d
parent a6aa3504
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -834,6 +834,7 @@ Device::BuiltinAction start_recovery(Device* device, const std::vector<std::stri
    "Version " + android::base::GetProperty("ro.lineage.build.version", "(unknown)") +
        " (" + ver_date + ")",
  };
  title_lines.push_back("Product name - " + android::base::GetProperty("ro.product.device", ""));
  if (android::base::GetBoolProperty("ro.build.ab_update", false)) {
    std::string slot = android::base::GetProperty("ro.boot.slot_suffix", "");
    if (android::base::StartsWith(slot, "_")) slot.erase(0, 1);