From cef79942f49933f9449fcda378c95044826fbc64 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 20 Nov 2023 08:05:14 +0100 Subject: [PATCH] Haptic feedback on confirm move --- app/src/main/java/eu/faircode/email/FragmentMoveAsk.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentMoveAsk.java b/app/src/main/java/eu/faircode/email/FragmentMoveAsk.java index d991426048..01dd8f2f9d 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMoveAsk.java +++ b/app/src/main/java/eu/faircode/email/FragmentMoveAsk.java @@ -28,6 +28,7 @@ import android.content.res.ColorStateList; import android.graphics.drawable.Drawable; import android.os.Build; import android.os.Bundle; +import android.view.HapticFeedbackConstants; import android.view.LayoutInflater; import android.view.View; import android.widget.CheckBox; @@ -142,6 +143,7 @@ public class FragmentMoveAsk extends FragmentDialogBase { .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { + Helper.performHapticFeedback(dview, HapticFeedbackConstants.CONFIRM); sendResult(Activity.RESULT_OK); } })