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

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

Remove TouchState::split variable

Instead of storing this state and mutating it in various places, let's
replace the variable with some logic about whether a touch should be
split.

Ideally, we wouldn't even have custom logic for split vs non-split, but
this is a starting point before we can refactor the code further.

The short-term goal is to simplify the findTouchedWindowTargetsLocked
function.

Bug: 211379801
Test: atest inputflinger_tests
Change-Id: I799c2e11a72052a2867710593b18e05011ca44b6
parent dbcf33b4
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