Workaround for PipMenuActivity not getting resumed changed immediately
- For whatever reason, the call to trigger home while it is already
visible after the PIP menu activity shows is not triggering the
top-resumed-changed callback immediately. As a workaround, just start
another fullscreen activity to transition home from to ensure the
callbacks happen immediately so the PIP menu can be removed before
another task overlay activity is added to the task.
Bug: 156314330
Test: atest PinnedStackTests#testFinishPipActivityWithTaskOverlay
Change-Id: Iebbad87893b5d30abe81487bff7f79325b23b47b
1 file changed