From ba394e1021015be3a9c9b103cee1e506da2e3abd Mon Sep 17 00:00:00 2001 From: Ehren Kret Date: Mon, 28 Mar 2022 18:22:02 -0500 Subject: [PATCH] Use notifyDataSetChanged for potentially structural modification. This has the potential to change the structure of the result set displayed in the recycler view. Thus the functions that tell it the structure changed need to be called. For an immediate fix, changing this back to notifyDataSetChanged seems to resolve the crash. --- .../conversationlist/ConversationListSearchAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversationlist/ConversationListSearchAdapter.java b/app/src/main/java/org/thoughtcrime/securesms/conversationlist/ConversationListSearchAdapter.java index 2e1a490cb0..9acf853a5e 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversationlist/ConversationListSearchAdapter.java +++ b/app/src/main/java/org/thoughtcrime/securesms/conversationlist/ConversationListSearchAdapter.java @@ -107,7 +107,7 @@ class ConversationListSearchAdapter extends RecyclerView.Adapter