Launch test activites in fullscreen if checking for lifecycle changes.

These tests all do the following:

1) Launch activity A
2) Launch activity B
3) Expect B to be resumed, A to be stopped

However this only passes if they are all fullscreen (or, specifically, B
to be fullscreen/fully on top of A). On freeform displays A will still
be resumed.

Test: android.server.wm.SplitActivityLifecycleTest
Bug: 219997781
Change-Id: If2de6cfe4676483fc4da7c739bac42dea006b8a8
1 file changed