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

Commit 7ad04d3f authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

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

am af5c0118: Merge "Fix issue #6447773: Pulse does not run in JB (NPE in GestureDetector.onTouchEvent)" into jb-dev

* commit 'af5c0118':
  Fix issue #6447773: Pulse does not run in JB (NPE in GestureDetector.onTouchEvent)
parents 8d302f6d af5c0118
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);