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

Skip to content
Commit 69112658 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Don't log when there are no more messages

Throughout input code, we check for presence of messages by looking at
the return code of various read functions. These are usually infinite
reads that get terminated when EWOULDBLOCK is received.

This is guaranteed to be hit every time (otherwise, we would get an
infinite loop). So in this CL, we remove the misleading log about
EWOULDBLOCK, which looks like this:

InputTransport: channel '...WindowInputTests$TestActivity (server)' publisher ~ receiveConsumerResponse: finished: seq=2966, handled=false
InputTransport: channel '...WindowInputTests$TestActivity (server)' publisher ~ receiveConsumerResponse: Unknown error -11

Bug: 282957027
Test: logcatcolor | grep -i input
Change-Id: Ie83fc1c9b69c02d8c48ebebaf4e57e0f76c9a3d9
parent e3ce4125
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment