summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2023-02-14 18:31:52 +0800
committer wilsonshih <wilsonshih@google.com> 2023-07-27 06:24:19 +0000
commitd8dfb19c46cb04474b5f2a66cb34a50b3dbdfc47 (patch)
tree70da6d46cb0ad583256af5819ac673c4fe2d4510 /libs/androidfw/FileStream.cpp
parent3490e6fb8fe5282134aa542f2cde6d66aafbbea4 (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions