Skip to content
Commit d8dfb19c authored by wilsonshih's avatar wilsonshih
Browse files

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
parent 3490e6fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment