From 4b82d888885ab6c08e6c18176de7f97b0f05b3fb Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 16 May 2020 20:03:00 +0200 Subject: [PATCH] Skip saving selected state --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 56da9466c5..95ad356de3 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -3003,7 +3003,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. outState.putStringArray("fair:values", values.keySet().toArray(new String[0])); for (String name : values.keySet()) - outState.putLongArray("fair:name:" + name, Helper.toLongArray(values.get(name))); + if (!"selected".equals(name)) + outState.putLongArray("fair:name:" + name, Helper.toLongArray(values.get(name))); if (rvMessage != null) { Parcelable rv = rvMessage.getLayoutManager().onSaveInstanceState();