commit | 8384e0d7658295ccb2b724d96fb4b46292ecb81f | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Mon Sep 18 18:48:27 2023 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Thu Sep 28 17:31:00 2023 -0700 |
tree | b4299b39376045e741829aec94d6911de0c3d7f5 | |
parent | 06405fc71796aa5e5ec8ca61fcd7dacdd3513136 [diff] |
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