summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsail <sail@google.com>2016-10-25 22:06:07 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-10-25 22:06:07 +0000
commit6601c3e778afcb21c647b22eb616231d47cef5b7 (patch)
tree4922f43d1dd8a27321618f456e254adc4d55a2dd
parentbbcefc57efa43831bdd0b6b4fcef611f6f97263c (diff)
parent6a77f5de8348be5dd55657ee7a2e4b5d5c820ea3 (diff)
Merge "Fix OOM issue of InCallUI" am: d5e3de3253 am: f4744f532f am: 0265226b66
am: 6a77f5de83 Change-Id: I7c1c8beaee6ab563c20cc8ded7751b9c5d491692
-rw-r--r--InCallUI/src/com/android/incallui/CallCardFragment.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java
index 506feb572..4355ef2bd 100644
--- a/InCallUI/src/com/android/incallui/CallCardFragment.java
+++ b/InCallUI/src/com/android/incallui/CallCardFragment.java
@@ -1351,6 +1351,9 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr
setViewStatePostAnimation(listener);
mIsAnimating = false;
InCallPresenter.getInstance().onShrinkAnimationComplete();
+ if (animator != null) {
+ animator.removeListener(this);
+ }
}
});
animator.start();