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

Commit 23df6455 authored by Lee Shombert's avatar Lee Shombert Committed by Android (Google) Code Review
Browse files

Merge "Fix a debug-output formatting error" into main

parents c06b581a 02989899
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -349,7 +349,7 @@ class AnrTimerTracer {
        return nullptr;
    }

    // Return the currently watched pids.  The lock must be held.
    // Return the currently watched pids as a comma-separated list.  The lock must be held.
    std::string watchedPidsLocked() const {
        if (watched_.size() == 0) return "none";
        bool first = true;
@@ -357,6 +357,7 @@ class AnrTimerTracer {
        for (auto i = watched_.cbegin(); i != watched_.cend(); i++) {
            if (first) {
                result += StringPrintf("%d", *i);
                first = false;
            } else {
                result += StringPrintf(",%d", *i);
            }