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

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

Fix animating target can missing show in start transaction.

The last applySurfaceChangesTransaction can trigger
Transition#onTransactionReady if all window report sync finish, but
there won't call prepareSurfaceLocked. However, if the parent of
that window is animating, the window will do performShowLocked and
change the draw state to HAS_DRAWN.
Then when Transition#onTransactionReady, the commitFinishDrawing won't
show that window because the draw state has changed.
Modify the isReadyForDisplay condition that token.isVisible become
necessary, so it only ready after ActivityRecord#commitVisibility

Bug: 347168362
Flag: EXEMPT bugfix
Test: trigger back gesture to task embedded, verify no flikcering on
the opening window.

Change-Id: I4ca978a20185a21fac2ef5d5739a57d5a8f0be0c
parent 9db2f240
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