diff options
author | sail <sail@google.com> | 2016-10-25 21:50:29 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-10-25 21:50:29 +0000 |
commit | f4744f532f050524db8c4e798b4e1ba4b6a84754 (patch) | |
tree | c0ca1be3dddfa424e02258019876a6346fa0b898 /InCallUI/src/com/android | |
parent | 4fb68ffaa18013d7440d973e743315c1ee0d01c5 (diff) | |
parent | d5e3de3253f46bdda4f714db76a83ec0adfbf586 (diff) |
Merge "Fix OOM issue of InCallUI"
am: d5e3de3253
Change-Id: Ic1862e5944a9bdc01eea181011d13767f8a44978
Diffstat (limited to 'InCallUI/src/com/android')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardFragment.java | 3 |
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(); |