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
Loading
Please register or sign in to comment