Vadim Tryshev 7a1beb559f 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
2023-11-08 13:20:57 -08:00
2023-10-26 18:20:19 +00:00
2019-11-25 20:24:07 +09:00
2021-09-21 15:25:22 -07:00
2023-03-09 14:05:29 -08:00
2023-10-05 09:18:19 -07:00
2023-10-20 10:09:12 -07:00
2020-01-17 11:24:43 -08:00
Description
No description provided
815 MiB
Languages
Java 73.1%
Kotlin 26.5%
AIDL 0.3%
Python 0.1%