Fix swipe to reply clobbering long press events.

This commit is contained in:
Alex Hart 2019-12-05 17:31:57 -04:00 committed by Greyson Parrelli
parent 28afe0d829
commit 4bdfc37bc1

View file

@ -143,6 +143,7 @@ class ConversationItemSwipeCallback extends ItemTouchHelper.SimpleCallback {
}
recyclerView.setOnTouchListener(null);
}
recyclerView.cancelPendingInputEvents();
}
private static void resetProgressIfAnimationsDisabled(RecyclerView.ViewHolder viewHolder) {