Merge "Fix incorrect fragment animation used for hiding fragments"

This commit is contained in:
Adam Powell
2013-06-07 18:46:18 +00:00
committed by Gerrit Code Review

View File

@@ -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);