Capture task snapshot with initial bounds during finish transition.

In WindowOrganizerController#finishTransition, there could apply window
container transaction to modify the hierarchy of window containers.
When move a split pair to back, there will dismiss all tasks in
StageCoordinator#prepareExitSplitScreen, and the snapshot of the split
tasks will be captured after it's config become fullscreen, which is
the reason there won't use snapshot strating window when move split to
front.

Bug: 279547115
Test: manual, create a split pair, move it to back. Then verify both
tasks will show snapshot starting window when launch split to front by
quick switch or recents.

Change-Id: Ie77c97f88b0ab7ba47a1cb1771f1b61fdcf02ae2
1 file changed