summaryrefslogtreecommitdiff
path: root/libs/input/Input.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2024-02-08 17:51:20 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2024-02-08 19:00:17 +0000
commitfc36472e3198d40da6adbff9d6c2f19f0e50bf43 (patch)
treee68911cc2ae6893323b1c7734a49dc7a7ce13694 /libs/input/Input.cpp
parent203b22aa060460cd25067fd002c8f046a8b0b116 (diff)
InputDispatcher: Fix crash when there is an ANR after window removal
This addresses a bug in the change: I47744cbd677cc74e26a102c50a2c11c68bc8aa89 InputDispatcher has an invariant that it can only send events to a connection if it has a window. We did not check if the channel receiving an ANR had a window before attempting to synthesize cancellations for it. Bug: 324330557 Bug: 210460522 Test: atest inputflinger_tests Change-Id: I5f3013fe93c0f4d1bb0f58e7b2a241cffe5c5bf2
Diffstat (limited to 'libs/input/Input.cpp')
0 files changed, 0 insertions, 0 deletions