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

Commit dcc7feb3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents d58d802c 7fea910d
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