Haptic feedback on confirm move

pull/214/head
M66B 12 months ago
parent 6761890d06
commit cef79942f4

@ -28,6 +28,7 @@ import android.content.res.ColorStateList;
import android.graphics.drawable.Drawable; import android.graphics.drawable.Drawable;
import android.os.Build; import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.view.HapticFeedbackConstants;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.widget.CheckBox; import android.widget.CheckBox;
@ -142,6 +143,7 @@ public class FragmentMoveAsk extends FragmentDialogBase {
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
@Override @Override
public void onClick(DialogInterface dialog, int which) { public void onClick(DialogInterface dialog, int which) {
Helper.performHapticFeedback(dview, HapticFeedbackConstants.CONFIRM);
sendResult(Activity.RESULT_OK); sendResult(Activity.RESULT_OK);
} }
}) })

Loading…
Cancel
Save