Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 71c0761d authored by Jiaming Liu's avatar Jiaming Liu
Browse files

[Divider] Fix divider flicker for cold launch cross-app embedding

The flicker happens because the divider is drawn before the open
transition is completed. When the TaskFragment and the decor surface are
created in the same WCT, we get the callback that the decor surface is
created, and all the other conditions are met to draw the divider. But
we don't have a good signal about whether the transition is completed
and when the secondary container content is drawn. This is especially
significant for cross-app cold launch because it is slow. The flicker
also has a small chance to happen for same-app launch.

This change moves the decor surface visibility operations into post
transition callback to ensure that the decor surface presentation
changes deterministically happen after the transition is completed.

Bug: 343973599
Test: atest TaskFragmentOrganizerControllerTest TaskTests and manual
Change-Id: Id8525d44817f2f530cbeafe458d02ed39a81af0d
parent 4c363457
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