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

Commit cd4837f5 authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Android (Google) Code Review
Browse files

Merge "Revert "audiohal: Add diagnostic message to check the number of bytes written""

parents 04a1ef42 476930c9
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -79,10 +79,6 @@ void WriteThread::doWrite() {
        ssize_t writeResult = mStream->write(mStream, &mBuffer[0], availToRead);
        if (writeResult >= 0) {
            mStatus.reply.written = writeResult;
            // Diagnostics of the cause of b/35813113.
            ALOGE_IF(writeResult > availToRead,
                    "legacy hal reports more bytes written than asked for: %lld > %lld",
                    (long long)writeResult, (long long)availToRead);
        } else {
            mStatus.retval = Stream::analyzeStatus("write", writeResult);
        }