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

Commit 8433b988 authored by George Mount's avatar George Mount Committed by android-build-merger
Browse files

Merge "Kill running animations on fragment view's when removed." into oc-dev am: dcc7feb3

am: d11fa9b0

Change-Id: Ie50c2555852eb2efec478be114b48a389c2c47c4
parents 98aa2f59 d11fa9b0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1334,6 +1334,9 @@ final class FragmentManagerImpl extends FragmentManager implements LayoutInflate
                        f.performDestroyView();
                        dispatchOnFragmentViewDestroyed(f, false);
                        if (f.mView != null && f.mContainer != null) {
                            // Stop any current animations:
                            f.mView.clearAnimation();
                            f.mContainer.endViewTransition(f.mView);
                            Animator anim = null;
                            if (mCurState > Fragment.INITIALIZING && !mDestroyed
                                    && f.mView.getVisibility() == View.VISIBLE