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

Commit 76922bbb 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 am: 62a18e12

am: 3e9429be

Change-Id: Ia5d655f3ce6bb760574bd5abd02115d9284ea395
parents 769a55f4 3e9429be
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -1356,9 +1356,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