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

Commit 7c0b6b3b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix consumer closed input channel cause an error occurred (2/2)" into...

Merge "Fix consumer closed input channel cause an error occurred (2/2)" into rvc-dev am: f9d44007 am: c4c9c837 am: 409f2fc8

Change-Id: I3ea9e227dc3dc49633b4565ba1f3dbb68802cc27
parents 40b6189b 409f2fc8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2748,7 +2748,10 @@ int InputDispatcher::handleReceiveCallback(int fd, int events, void* data) {
            // Monitor channels are never explicitly unregistered.
            // We do it automatically when the remote endpoint is closed so don't warn
            // about them.
            notify = !connection->monitor;
            const bool stillHaveWindowHandle =
                    d->getWindowHandleLocked(connection->inputChannel->getConnectionToken()) !=
                    nullptr;
            notify = !connection->monitor && stillHaveWindowHandle;
            if (notify) {
                ALOGW("channel '%s' ~ Consumer closed input channel or an error occurred.  "
                      "events=0x%x",