diff --git a/src/com/android/launcher3/touch/WorkspaceTouchListener.java b/src/com/android/launcher3/touch/WorkspaceTouchListener.java index 883c3db67b..2b0acb4621 100644 --- a/src/com/android/launcher3/touch/WorkspaceTouchListener.java +++ b/src/com/android/launcher3/touch/WorkspaceTouchListener.java @@ -47,7 +47,6 @@ import com.android.launcher3.logger.LauncherAtom; import com.android.launcher3.testing.TestLogging; import com.android.launcher3.testing.shared.TestProtocol; import com.android.launcher3.util.TouchUtil; -import com.android.launcher3.util.VibratorWrapper; import com.android.launcher3.Utilities; @@ -224,10 +223,8 @@ public class WorkspaceTouchListener extends GestureDetector.SimpleOnGestureListe @Override public boolean onDoubleTap(MotionEvent event) { - if (Utilities.isDoubleTapGestureEnabled(mContext)) { - VibratorWrapper.INSTANCE.get(mContext).vibrate(VibratorWrapper.EFFECT_CLICK); + if (Utilities.isDoubleTapGestureEnabled(mContext)) mPm.goToSleep(event.getEventTime()); - } return true; } }