Fix incorrect fragment animation used for hiding fragments

Mirror of support lib patch
https://android-review.googlesource.com/#/c/60032/ into
frameworks/base.

Change-Id: I8d1cb2e217721336674b8e3e2ef8722a8d9baefd
This commit is contained in:
Adam Powell
2013-06-07 10:16:08 -07:00
committed by Adam Powell
parent 70b74646b8
commit 2756293910

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