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

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

Remove 2 goto statements for wrongDevice

If wrongDevice is set to true, we can just return right away. And since
we are returning right away, we don't have to handle that case at the
bottom of the function.

This CL reduces the identation and simplifies the logic a bit. There
should be no functional change.

Bug: 211379801
Test: atest inputflinger_tests
Change-Id: I3b11f27bc4efa7d2623ea54ce0a62eb4e6d1526b
parent 0d7751fb
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