summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2022-08-09 00:03:11 +0000
committer Vishnu Nair <vishnun@google.com> 2022-08-12 00:28:25 +0000
commit2f5bc8b8cfda7762213268842c13e2280ac02466 (patch)
treeaeeab0e83adc28d4c4ba510ed321895f86a21cd3 /libs/gui/BufferQueueThreadState.cpp
parent05c7f9841664bac18fdaad097efced3361de68dc (diff)
InputDispatcher: Blame the window from the focus request for ANR
If there are no focusable windows, then try to blame the window that was requested to become focused. This will avoid blaming the wrong process when WM requests focus on a window that is placed on top of the focused app and the window fails to become focusable. Test: atest inputflinger_tests Fixes: b/239907039 Change-Id: Ie2bc3dc66516b51784159a875c7cf865b4cb5b35
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions