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

Commit d11fa9b0 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

Change-Id: If86dd400ef47c543bd62d621f6a16cecf178014b
parents f8b80002 dcc7feb3
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