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

Commit 5dcbd0fb authored by Dave Mankoff's avatar Dave Mankoff Committed by android-build-merger
Browse files

Merge "Fix NPE when unlocking with TalkBack on." into qt-dev

am: e2bb85d8

Change-Id: I2db4c80294a72b3029e54a66134d4f692d291126
parents 84b3ffe0 e2bb85d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ public class ClassifierData {
        // sampling rate, this creates potentialy false positives.
        if (event.getActionMasked() == MotionEvent.ACTION_MOVE
                && mCurrentStrokes.size() != 0
                && event.getEventTimeNano() - mCurrentStrokes.get(0).getLastEventTimeNano()
                && event.getEventTimeNano() - mCurrentStrokes.valueAt(0).getLastEventTimeNano()
                        < MINIMUM_DT_NANOS - MINIMUM_DT_SMEAR_NANOS) {
            return false;
        }