Revert "Launcher3: Vibrate on double tap to sleep"

This reverts commit 1af663b25718697339f74fd15903000b3acfdd2a.
This commit is contained in:
fazilsheik96 2024-03-12 00:42:59 +05:30
parent 22a60606c7
commit ba3e59dab9
1 changed files with 1 additions and 4 deletions

View File

@ -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;
}
}