Merge "Using window touch slop for gesture instead of normal touch slop This would prevent intercepting taps on the home button" into ub-launcher3-master

This commit is contained in:
Sunny Goyal authored and Android (Google) Code Review committed 2018-02-26 21:23:12 +00:00
commit ee5de5d13d
1 file changed
+1 -1
@@ -157,7 +157,7 @@ public class OtherActivityTouchConsumer extends ContextWrapper implements TouchC
mActivePointerId = ev.getPointerId(0);
mDownPos.set(ev.getX(), ev.getY());
mLastPos.set(mDownPos);
mTouchSlop = ViewConfiguration.get(this).getScaledTouchSlop();
mTouchSlop = ViewConfiguration.get(this).getScaledPagingTouchSlop();
mTouchThresholdCrossed = false;
// Start the window animation on down to give more time for launcher to draw if the