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

Commit 62223f52 authored by Rhed Jao's avatar Rhed Jao Committed by Automerger Merge Worker
Browse files

Merge "Dumpsys: stop writing when timed-out" am: 96002aa9

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1534573

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I63f0031e75d0ca5c635dbc8f0236badaeaa1ff51
parents f8ba311c 96002aa9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -427,7 +427,7 @@ status_t Dumpsys::writeDump(int fd, const String16& serviceName, std::chrono::mi
                 << strerror(errno) << std::endl;
            status = -errno;
            break;
        } else if (rc == 0) {
        } else if (rc == 0 || time_left_ms() == 0) {
            status = TIMED_OUT;
            break;
        }