Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f679ed09 authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Prevent a leak when using View.postInvalidate(left, top, right, bottom)"

parents a3b7b57a 40c18f59
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
            );