summaryrefslogtreecommitdiff
path: root/libs/input/InputWindow.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2020-12-15 02:59:54 +0000
committer Siarhei Vishniakou <svv@google.com> 2021-01-11 12:16:51 -1000
commit3c63fa477df32e9f9499600d93fc491e1b54201f (patch)
tree33b4bb2fb4a9b5e2dc43888b229b2d2ba6809043 /libs/input/InputWindow.cpp
parentea2ed778452779e55eaff4610571b89c25de6980 (diff)
Split monitor and window ANR notification paths
Currently, both monitors and windows share the same ANR notification paths. This means that InputManagerService must be the one to determine whether the ANR event belongs to a monitor or to a window. We previously kept track of this by recording the pid inside InputManagerService. However, there seems to be a path where the gesture monitor process dies that does not lead to a notification of the java layer. This resulted in having multiple registered processes. Now, we will rely on the native layer to manage the pid and to notify the java layer appropriately. Bug: 175593831 Test: atest inputflinger_tests Change-Id: Ie1f7e976dcadcf07a83f78b3ca856b5c43096e2f
Diffstat (limited to 'libs/input/InputWindow.cpp')
0 files changed, 0 insertions, 0 deletions