commit | 964305e1b2d7fdf04f7feb0d99887e1eedb0ae90 | [log] [tgz] |
---|---|---|
author | HQ Liu <hql@google.com> | Mon Feb 14 16:52:31 2022 -0800 |
committer | HQ Liu <hql@google.com> | Mon Feb 21 20:42:21 2022 +0000 |
tree | 8a249f39d88a05d089543a0fe82608430f6e19c3 | |
parent | 45a071221813a1cd2d12fdda4869b1afbdfed581 [diff] |
Remove the current input focused window when ANR When a freeform app launched and focused, but its window is not ready, the input focus stays on the window of the previously focused freeform app. The focus should be removed from the previously foccused app, so ANR can be triggered correctly. Bug: 216852742 Test: atest AnrTests#slowOnCreateWithKeyEventTriggersAnr Change-Id: Id00c147ffab9b11fb2abdf0f3020bc017a31bea7