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

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

Iterate over vector in pilferPointersLocked

No behaviour change in this CL.
We are currently returning early from the function where there isn't
exactly one device active.

To future-proof this code, iterate over the entire vector of devices,
knowing that currently, only 1 iteration will occur.
This will simplify the future CL for multi-device support.

Bug: 211379801
Test: atest inputflinger_tests
Change-Id: Ie58ecde47f6dccd4cb45e1d8264af59376c27683
parent 06405fc7
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