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

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

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

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ideffc1368bcc668967974886dbd8e1c89b171cc3
parents c1afad78 62223f52
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;
        }