Revert "Launcher3: Vibrate on double tap to sleep"
This reverts commit 1af663b25718697339f74fd15903000b3acfdd2a.
This commit is contained in:
parent
22a60606c7
commit
ba3e59dab9
|
@ -47,7 +47,6 @@ import com.android.launcher3.logger.LauncherAtom;
|
||||||
import com.android.launcher3.testing.TestLogging;
|
import com.android.launcher3.testing.TestLogging;
|
||||||
import com.android.launcher3.testing.shared.TestProtocol;
|
import com.android.launcher3.testing.shared.TestProtocol;
|
||||||
import com.android.launcher3.util.TouchUtil;
|
import com.android.launcher3.util.TouchUtil;
|
||||||
import com.android.launcher3.util.VibratorWrapper;
|
|
||||||
|
|
||||||
import com.android.launcher3.Utilities;
|
import com.android.launcher3.Utilities;
|
||||||
|
|
||||||
|
@ -224,10 +223,8 @@ public class WorkspaceTouchListener extends GestureDetector.SimpleOnGestureListe
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onDoubleTap(MotionEvent event) {
|
public boolean onDoubleTap(MotionEvent event) {
|
||||||
if (Utilities.isDoubleTapGestureEnabled(mContext)) {
|
if (Utilities.isDoubleTapGestureEnabled(mContext))
|
||||||
VibratorWrapper.INSTANCE.get(mContext).vibrate(VibratorWrapper.EFFECT_CLICK);
|
|
||||||
mPm.goToSleep(event.getEventTime());
|
mPm.goToSleep(event.getEventTime());
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue