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

Skip to content
Commit 84f703b0 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Merge animation transaction of app window to transition

When starting a no animation activity which contains a dialog with
animation:

Transition#onTransactionReady
 > commitVisibleActivities > AR#commitFinishDrawing
 > WS#performShowLocked > WSA#applyEnterAnimationLocked
 > Apply animation if the window is not activity main window.
   e.g. TYPE_APPLICATION from dialog.

The activity doesn't have transition animation. The transition makes
the window surfaces of activity visible directly. If the window level
animation is applied by pending transaction, the reparent of animation
leash may happen at a frame later, which looks like it flickers a frame
and then starts the animation.

Bug: 355578719
Flag: EXEMPT bugfix
Test: Launch an activity in the same task with showing a dialog.
      E.g. Enter "App info" and press "Uninstall".
      The dialog window should not be visible directly before
      starting the fade-in animation.
Change-Id: Ie0d0a6829d451ffd907a74569d7e1476f299ef19
parent bd5e0d91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment