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

Process output events in a separate function

Currently, we are processing input events and output events inside
'handleEvent' looper callback. That function is quite large, and will
get more complex when we add another outgoing event type.

To simplify the code, move the outbound event processing into a separate
function. At the same time, slightly modify the logic to make it clear
that the goal of the loop is to send all of the outgoing events.

Bug: 169866723
Test: presubmit
Change-Id: I47b4b82087428a9a6d4c50caf985a8699de3cb86
parent b5b5aa24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment