commit | a54484c918c66b32fb3bc76b357492b5992381db | [log] [tgz] |
---|---|---|
author | Wei Huang <[email protected]> | Tue Feb 10 13:46:41 2015 +0800 |
committer | Zoran Jovanovic <[email protected]> | Wed Feb 03 15:27:42 2016 +0100 |
tree | bc36ea373c6be0a1e70047b58eaff7e2c9cc5c24 | |
parent | 86a8382274b955670f920324cba697360677a3b8 [diff] |
Fix OOM issue of InCallUI CallButtonPresenter didn't remove itself from InCallPresenter(CanAddCallListener). Change-Id: I2ad979d9eebeb110b03e5a1c103d7a4f98e317c0
diff --git a/src/com/android/incallui/CallCardFragment.java b/src/com/android/incallui/CallCardFragment.java index fb0ef75..0315988 100644 --- a/src/com/android/incallui/CallCardFragment.java +++ b/src/com/android/incallui/CallCardFragment.java
@@ -1081,6 +1081,9 @@ setViewStatePostAnimation(listener); mIsAnimating = false; InCallPresenter.getInstance().onShrinkAnimationComplete(); + if (animator != null) { + animator.removeListener(this); + } } }); animator.start();