Merge "Fix extra haptic on swipe up" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
516dfc6ace
@@ -617,7 +617,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
|
||||
final boolean passed = mCurrentShift.value >= MIN_PROGRESS_FOR_OVERVIEW;
|
||||
if (passed != mPassedOverviewThreshold) {
|
||||
mPassedOverviewThreshold = passed;
|
||||
if (!mDeviceState.isTwoButtonNavMode()) {
|
||||
if (mDeviceState.isTwoButtonNavMode()) {
|
||||
performHapticFeedback();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user