diff options
author | sail <sail@google.com> | 2016-10-25 21:44:43 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-10-25 21:44:43 +0000 |
commit | d5e3de3253f46bdda4f714db76a83ec0adfbf586 (patch) | |
tree | 6af30076f81f13e14221825ae25f4a0b6a37de3e /InCallUI | |
parent | d1be0b9328f56d98e3d623d38d0c279a290a1ee0 (diff) | |
parent | 0c101baa830cdd7e9082ee1526fd14078581b248 (diff) |
Merge "Fix OOM issue of InCallUI"
Diffstat (limited to 'InCallUI')
-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(); |