Merge "Fix incorrect fragment animation used for hiding fragments"
This commit is contained in:
@@ -1169,7 +1169,7 @@ final class FragmentManagerImpl extends FragmentManager {
|
||||
if (!fragment.mHidden) {
|
||||
fragment.mHidden = true;
|
||||
if (fragment.mView != null) {
|
||||
Animator anim = loadAnimator(fragment, transition, true,
|
||||
Animator anim = loadAnimator(fragment, transition, false,
|
||||
transitionStyle);
|
||||
if (anim != null) {
|
||||
anim.setTarget(fragment.mView);
|
||||
|
||||
Reference in New Issue
Block a user