Create windowless starting surface on opening target.
If config_predictShowStartingSurface has enabled, create a windowless starting surface, and attach it on the opening animation target. And remove the starting surface when transition is about to happen. Need to hide the close target when transition start, because unlike launchTaskBehind, when using windowless starting surface to the opening target, the opening target will also be collect in next transition, so both open and close will be reparent to transition root while apply the start transaction, which may cause flicker. Bug: 257857570 Bug: 268563842 Test: manual, trigger a cross-task/activity animation, and verify snapshot or splash starting surface can draw on the open target. Test: atest BackGestureInvokedTest BackNavigationControllerTests Change-Id: I5c703909faa4538f9ff89e4fd5879e84684611df
Loading
Please register or sign in to comment