| commit | f49608d3e63226279ba0ac09f0ae51fecdb2df08 | [log] [tgz] |
|---|---|---|
| author | Siarhei Vishniakou <svv@google.com> | Thu Aug 20 19:18:21 2020 -0500 |
| committer | Siarhei Vishniakou <svv@google.com> | Fri Aug 28 10:49:44 2020 -0500 |
| tree | 14b5a10da01f4ffa33d09fc1feb353e2299e3724 | |
| parent | 36ca632e6ff6eaa29f9f1ab9997e6497e7dd2542 [diff] |
Check if input devices are opening If input devices are opening, but not yet open, they will be sitting in mOpeningDevices list and not in mDevices map. Therefore, when pairing a video device, we should check both places. This is needed because of a recent behaviour change where device can only be in 1 place at a given time. Bug: 165554458 Test: adb shell dumpsys input Change-Id: Id44a2d7a6f8246dec26cb33c6d073d7f0c39e507