Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStepController.java +7 −6 Original line number Original line Diff line number Diff line Loading @@ -200,12 +200,6 @@ public class QuickStepController extends GestureDetector.SimpleOnGestureListener */ */ @Override @Override public boolean onInterceptTouchEvent(MotionEvent event) { public boolean onInterceptTouchEvent(MotionEvent event) { if (!mNavigationBarView.isQuickScrubEnabled() && !mNavigationBarView.isQuickStepSwipeUpEnabled()) { mNavigationBarView.getHomeButton().setDelayTouchFeedback(false /* delay */); return false; } mNavigationBarView.requestUnbufferedDispatch(event); return handleTouchEvent(event); return handleTouchEvent(event); } } Loading @@ -222,6 +216,13 @@ public class QuickStepController extends GestureDetector.SimpleOnGestureListener } } private boolean handleTouchEvent(MotionEvent event) { private boolean handleTouchEvent(MotionEvent event) { if (!mNavigationBarView.isQuickScrubEnabled() && !mNavigationBarView.isQuickStepSwipeUpEnabled()) { mNavigationBarView.getHomeButton().setDelayTouchFeedback(false /* delay */); return false; } mNavigationBarView.requestUnbufferedDispatch(event); final ButtonDispatcher homeButton = mNavigationBarView.getHomeButton(); final ButtonDispatcher homeButton = mNavigationBarView.getHomeButton(); if (mGestureDetector.onTouchEvent(event)) { if (mGestureDetector.onTouchEvent(event)) { // If the fling has been handled on UP, then skip proxying the UP // If the fling has been handled on UP, then skip proxying the UP Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStepController.java +7 −6 Original line number Original line Diff line number Diff line Loading @@ -200,12 +200,6 @@ public class QuickStepController extends GestureDetector.SimpleOnGestureListener */ */ @Override @Override public boolean onInterceptTouchEvent(MotionEvent event) { public boolean onInterceptTouchEvent(MotionEvent event) { if (!mNavigationBarView.isQuickScrubEnabled() && !mNavigationBarView.isQuickStepSwipeUpEnabled()) { mNavigationBarView.getHomeButton().setDelayTouchFeedback(false /* delay */); return false; } mNavigationBarView.requestUnbufferedDispatch(event); return handleTouchEvent(event); return handleTouchEvent(event); } } Loading @@ -222,6 +216,13 @@ public class QuickStepController extends GestureDetector.SimpleOnGestureListener } } private boolean handleTouchEvent(MotionEvent event) { private boolean handleTouchEvent(MotionEvent event) { if (!mNavigationBarView.isQuickScrubEnabled() && !mNavigationBarView.isQuickStepSwipeUpEnabled()) { mNavigationBarView.getHomeButton().setDelayTouchFeedback(false /* delay */); return false; } mNavigationBarView.requestUnbufferedDispatch(event); final ButtonDispatcher homeButton = mNavigationBarView.getHomeButton(); final ButtonDispatcher homeButton = mNavigationBarView.getHomeButton(); if (mGestureDetector.onTouchEvent(event)) { if (mGestureDetector.onTouchEvent(event)) { // If the fling has been handled on UP, then skip proxying the UP // If the fling has been handled on UP, then skip proxying the UP Loading