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

Commit 30d9ffa4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't log when there are no more messages" into main

parents bb3952d8 69112658
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -783,8 +783,10 @@ android::base::Result<InputPublisher::ConsumerResponse> InputPublisher::receiveC
    InputMessage msg;
    status_t result = mChannel->receiveMessage(&msg);
    if (result) {
        ALOGD_IF(debugTransportPublisher(), "channel '%s' publisher ~ %s: %s",
                 mChannel->getName().c_str(), __func__, strerror(result));
        if (debugTransportPublisher() && result != WOULD_BLOCK) {
            LOG(INFO) << "channel '" << mChannel->getName() << "' publisher ~ " << __func__ << ": "
                      << strerror(result);
        }
        return android::base::Error(result);
    }
    if (msg.header.type == InputMessage::Type::FINISHED) {