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

Commit e4b45a5a authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Release all surfaces of transition on finish

It should release the surfaces for all transitions instead of
only from DefaultTransitionHandler.

And it is safer to release by outer finish callback instead of
the inner callback of transition handler. In case it is a mixed
case (MixedTransition#mInFlightSubAnimations > 1) that multiple
handlers will use the same transition info sequentially.

Bug: 429548260
Fix: 428944342
Flag: com.android.window.flags.release_all_transition_surfaces
Test: Trigger transition with split screen/recents/rotation.
      And check dumpsys SurfaceFliger.
Change-Id: I32d0376530f11acd131c56a9c3d6d5dd76a7dd76
parent f5b74ac9
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