Launch activity in fullscreen to ensure the target activity is hidden

This CL changes the windowing mode of the second activity to fullscreen to ensure the first activity is hidden by the second one.
In multi-window envs (e.g. ARC), since there can be many free-form windows on the display, we should use fullscreen mode instead if we’d like to hide the first one.

Bug: 168439393
Test: atest android.app.cts.AppTaskTests#testMoveToFront
Change-Id: Ia092d98321194c3856601b72bf886ad524281d4a
1 file changed