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

Commit 62a18e12 authored by George Mount's avatar George Mount Committed by android-build-merger
Browse files

Merge "Add target sdk check for behavior change." into oc-dev

am: e5e246ce

Change-Id: I3734ee5cd46536a015a8fc60bf8b57818800c792
parents c48a8176 e5e246ce
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -1355,9 +1355,11 @@ final class FragmentManagerImpl extends FragmentManager implements LayoutInflate
                        f.performDestroyView();
                        dispatchOnFragmentViewDestroyed(f, false);
                        if (f.mView != null && f.mContainer != null) {
                            if (getTargetSdk() >= Build.VERSION_CODES.O) {
                                // 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