diff options
author | Louis Chang <louischang@google.com> | 2019-04-25 17:14:20 +0800 |
---|---|---|
committer | Louis Chang <louischang@google.com> | 2019-05-09 13:21:35 +0800 |
commit | a9350fe43cf32b20b94e95cc6cf449aab1093e1a (patch) | |
tree | a876fd4a119645ce29fb595cbb69b573fa7d999e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6d856d335da2d0521baa26bb51bf3e4e48122dfb (diff) |
Displays that have focused apps can also be top focused
There was no focus window during activity switches.
- While starting an activity, the previous top activity was paused and set
the AppWindowToken.hiddenRequested to true (while #setVisibility)
- While finishing current top activity, the focused window was updated a
bit early, which was before the next top activity resumed.
In both two cases, the focused window was set to null for a small amount of
time. So, we tried to look up the focus in other displays and resulted
the extra onWindowFocusChanged() calls for activities on other displays.
Bug: 131374329
Test: DisplayContentTests
Change-Id: Ia77bf697c237696cad7b42ca6b38157eff497b23
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions