Removing extra haptic feedback.
- ag/923796 changed the logic to always return true, so these extra calls are no longer needed. Bug: 28867314 Change-Id: I07a4f6ac772a1444bba1950b2f27aa4be58a8419
This commit is contained in:
@@ -1065,9 +1065,6 @@ public class DividerView extends FrameLayout implements OnTouchListener,
|
|||||||
mEntranceAnimationRunning = true;
|
mEntranceAnimationRunning = true;
|
||||||
resizeStack(position, mSnapAlgorithm.getMiddleTarget().position,
|
resizeStack(position, mSnapAlgorithm.getMiddleTarget().position,
|
||||||
mSnapAlgorithm.getMiddleTarget());
|
mSnapAlgorithm.getMiddleTarget());
|
||||||
|
|
||||||
// Vibrate after docking
|
|
||||||
performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void onBusEvent(RecentsDrawnEvent drawnEvent) {
|
public final void onBusEvent(RecentsDrawnEvent drawnEvent) {
|
||||||
@@ -1105,9 +1102,6 @@ public class DividerView extends FrameLayout implements OnTouchListener,
|
|||||||
mExitStartPosition = getCurrentPosition();
|
mExitStartPosition = getCurrentPosition();
|
||||||
stopDragging(mExitStartPosition, target, 336 /* duration */, 100 /* startDelay */,
|
stopDragging(mExitStartPosition, target, 336 /* duration */, 100 /* startDelay */,
|
||||||
0 /* endDelay */, Interpolators.FAST_OUT_SLOW_IN);
|
0 /* endDelay */, Interpolators.FAST_OUT_SLOW_IN);
|
||||||
|
|
||||||
// Vibrate after undocking
|
|
||||||
performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user