From b770a39f173d53b9bdbbfc74ad1499a04ebba2d0 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 22 Jan 2024 20:43:27 +0100 Subject: [PATCH] Reduced logging --- .../androidx/recyclerview/selection/ViewAutoScroller.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/androidx/recyclerview/selection/ViewAutoScroller.java b/app/src/main/java/androidx/recyclerview/selection/ViewAutoScroller.java index 32e813c852..9201380274 100644 --- a/app/src/main/java/androidx/recyclerview/selection/ViewAutoScroller.java +++ b/app/src/main/java/androidx/recyclerview/selection/ViewAutoScroller.java @@ -107,6 +107,11 @@ final class ViewAutoScroller extends AutoScroller { if (VERBOSE) Log.v(TAG, "Running in background using event location @ " + mLastLocation); + if (mLastLocation == null) { + eu.faircode.email.Log.w("ViewAutoScroller.mLastLocation is null"); + return; + } + // Compute the number of pixels the pointer's y-coordinate is past the view. // Negative values mean the pointer is at or before the top of the view, and // positive values mean that the pointer is at or after the bottom of the view. Note