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

Commit 3ba7be49 authored by Tom Cherry's avatar Tom Cherry Committed by Automerger Merge Worker
Browse files

Merge "fastboot: don't print anything in Status() if the input is empty" am:...

Merge "fastboot: don't print anything in Status() if the input is empty" am: 18b5965e am: 3a4b1429 am: 0f121d12

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1329334

Change-Id: I268534c183ba3b6094afd0bb70077745f3f86ecb
parents 3db95266 0f121d12
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -200,8 +200,10 @@ static std::string find_item(const std::string& item) {
double last_start_time;

static void Status(const std::string& message) {
    if (!message.empty()) {
        static constexpr char kStatusFormat[] = "%-50s ";
        fprintf(stderr, kStatusFormat, message.c_str());
    }
    last_start_time = now();
}