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