diff options
| author | armenk <armenk@google.com> | 2022-01-26 11:44:09 -0800 |
|---|---|---|
| committer | armenk <armenk@google.com> | 2022-01-26 22:34:51 -0800 |
| commit | 9060da6c38e211b9de29a9c0a608e9d2ed062cef (patch) | |
| tree | a33a266287e4d7ee3a3fdddafcab9a2da06b6b8c /core/java | |
| parent | 8981d131cafcef8b6a806a8a3c3fa706201c7074 (diff) | |
Set focused app when top activity is resumed
In a multi-resumed environment, like in a freeform device, the top
activity can be resumed but it might not be the focused app. This
causes some failures in Pip tests. To fix it, the top activity can
be explicitly set to the focused app in TaskFragment.resumeTopActivity()
function.
Bug: 194224954
Test: atest PinnedStackTests#testEnterPictureInPictureMode
Change-Id: I646c9950e74c589c155a32a787b5165598cecb61
Diffstat (limited to 'core/java')
0 files changed, 0 insertions, 0 deletions
