1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Haptic feedback after empty trash/spam

This commit is contained in:
M66B 2023-10-25 09:03:01 +02:00
parent aafe2e82b3
commit b6ff186b17

View file

@ -92,6 +92,7 @@ import android.util.LongSparseArray;
import android.util.Pair;
import android.util.TypedValue;
import android.view.GestureDetector;
import android.view.HapticFeedbackConstants;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.Menu;
@ -10453,6 +10454,11 @@ public class FragmentMessages extends FragmentBase
return null;
}
@Override
protected void onExecuted(Bundle args, Void data) {
view.performHapticFeedback(HapticFeedbackConstants.CONFIRM);
}
@Override
protected void onException(Bundle args, Throwable ex) {
Log.unexpectedError(getParentFragmentManager(), ex);