commit | 7a1beb559f9cc668d2c2efca05f3ce952c13a26e | [log] [tgz] |
---|---|---|
author | Vadim Tryshev <vadimt@google.com> | Wed Nov 08 13:20:57 2023 -0800 |
committer | Vadim Tryshev <vadimt@google.com> | Wed Nov 08 13:20:57 2023 -0800 |
tree | 1dd4fe9c9e67fd6cb3632356d17c83f5398c3bc7 | |
parent | 38dc539f847571757585c3945ad52fdd98cd0e92 [diff] |
Allowing ACTION_CANCEL events to come from device 0 Tests assert that input events come to Launcher only from tests, which sets deviceId to 0. This way, we spot when a cable touches a lab device and breaks the tests, in which case deviceId will be != -1. But CANCEL event, which is programmatic, now can legitimately come from device 0. Bug: 308489875 Test: presubmit Flag: N/A Change-Id: I84ee9ed8e008043f83e82d57b17b64a10677ee8d