Removing extra haptic feedback.
am: 7660bca509
* commit '7660bca5099b1a568e025345f1ba0aa68793e15a':
Removing extra haptic feedback.
Change-Id: If87dfc0227eee3246eb145c566851057912b4588
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