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

Commit dba0e2aa authored by Toni Barzic's avatar Toni Barzic
Browse files

Ensure previous batched input is consumed when enabling batching

Handles a race where disabling batching with pending batched input
events may leave pending batched input unconsumed indefinitely if
batching is enabled again soon after - before the task to consume
pending batched events is run. In that case input consumer would be left
in state waiting for the input receiver to consume pending batched
events, and all incoming batched evets would be left unprocessed (until
a timeout).

Bug: 430596235
Test: None
Flag: EXEMPT bugfix
Change-Id: I10ff115a9d42019c61873bb76072df6bd1b4b301
parent 4d932b19
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