diff options
| author | Romain Guy <romainguy@google.com> | 2011-09-01 17:02:28 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-09-01 17:02:28 -0700 |
| commit | f679ed0939f10ee3da9363bb179802b8184d1880 (patch) | |
| tree | c4ea6fffc4c7f4a9bc3c3b7cd640a49ae03f66b2 /core/java | |
| parent | a3b7b57a5211c210a61bb9bea118531eed08591a (diff) | |
| parent | 40c18f59ac3bd0e14ac9c7ed6467e52fb8f95640 (diff) | |
Merge "Prevent a leak when using View.postInvalidate(left, top, right, bottom)"
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/View.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index bb12a573b5d6..fa1d24961dda 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -9362,7 +9362,6 @@ public class View implements Drawable.Callback2, KeyEvent.Callback, Accessibilit if (mAttachInfo != null) { mAttachInfo.mHandler.removeMessages(AttachInfo.INVALIDATE_MSG, this); - mAttachInfo.mHandler.removeMessages(AttachInfo.INVALIDATE_RECT_MSG, this); } mCurrentAnimation = null; @@ -13910,6 +13909,7 @@ public class View implements Drawable.Callback2, KeyEvent.Callback, Accessibilit } public void onReleased(InvalidateInfo element) { + element.target = null; } }, POOL_LIMIT) ); |
