Fix NPE pointed out by Chet.
Change-Id: Id421476aa6f6ff281054b435ecd09f932966305c
This commit is contained in:
@ -827,8 +827,9 @@ final class FragmentManagerImpl extends FragmentManager {
|
||||
// animation right now -- it is not needed,
|
||||
// and we can't wait any more on destroying
|
||||
// the fragment.
|
||||
Animator anim = f.mAnimatingAway;
|
||||
f.mAnimatingAway = null;
|
||||
f.mAnimatingAway.cancel();
|
||||
anim.cancel();
|
||||
}
|
||||
}
|
||||
if (f.mAnimatingAway != null) {
|
||||
|
Reference in New Issue
Block a user