summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsail <sail@google.com>2016-10-25 22:00:30 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-10-25 22:00:30 +0000
commit6a77f5de8348be5dd55657ee7a2e4b5d5c820ea3 (patch)
treec0ca1be3dddfa424e02258019876a6346fa0b898
parentcbe0b39ab3060e8d5006998542d97053bbce58f4 (diff)
parent0265226b66a98fdb3adca52aa7cb47cc1c910bed (diff)
Merge "Fix OOM issue of InCallUI" am: d5e3de3253 am: f4744f532f
am: 0265226b66 Change-Id: I494318261aa048881dcd07b98fb2374f95f5f55e
-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 39dd5eae2..2b96a55a9 100644
--- a/InCallUI/src/com/android/incallui/CallCardFragment.java
+++ b/InCallUI/src/com/android/incallui/CallCardFragment.java
@@ -1336,6 +1336,9 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr
setViewStatePostAnimation(listener);
mIsAnimating = false;
InCallPresenter.getInstance().onShrinkAnimationComplete();
+ if (animator != null) {
+ animator.removeListener(this);
+ }
}
});
animator.start();