Haptic feedback after empty trash/spam

pull/214/head
M66B 1 year ago
parent aafe2e82b3
commit b6ff186b17

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

Loading…
Cancel
Save