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

Commit af5c0118 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Fix issue #6447773: Pulse does not run in JB (NPE in...

Merge "Fix issue #6447773: Pulse does not run in JB (NPE in GestureDetector.onTouchEvent)" into jb-dev
parents de83e7aa 7a83b93e
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -585,8 +585,12 @@ public class GestureDetector {
            }
            // Hold the event we obtained above - listeners may have changed the original.
            mPreviousUpEvent = currentUpEvent;
            if (mVelocityTracker != null) {
                // This may have been cleared when we called out to the
                // application above.
                mVelocityTracker.recycle();
                mVelocityTracker = null;
            }
            mIsDoubleTapping = false;
            mHandler.removeMessages(SHOW_PRESS);
            mHandler.removeMessages(LONG_PRESS);