Merge "Fixed Handler Leak on RecyclerView" am: 62b028daca am: 78ac7dd921 am: a475e3f791
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1495867 Change-Id: I484c140a0d7294f0ef4b797f5c41cc1ee542fc87
This commit is contained in:
@@ -2799,6 +2799,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro
|
|||||||
if (index < 0) {
|
if (index < 0) {
|
||||||
Log.e(TAG, "Error processing scroll; pointer index for id "
|
Log.e(TAG, "Error processing scroll; pointer index for id "
|
||||||
+ mScrollPointerId + " not found. Did any MotionEvents get skipped?");
|
+ mScrollPointerId + " not found. Did any MotionEvents get skipped?");
|
||||||
|
vtev.recycle();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user