From b9347265a12d4bf194896737cd405d3575867ce4 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 23 Aug 2022 09:03:17 +0200 Subject: [PATCH] Setup no clear --- app/src/main/java/eu/faircode/email/ActivityView.java | 8 ++++---- app/src/main/java/eu/faircode/email/AdapterFolder.java | 2 +- app/src/main/java/eu/faircode/email/AdapterMessage.java | 2 +- app/src/main/java/eu/faircode/email/FragmentAccounts.java | 2 +- .../java/eu/faircode/email/FragmentDialogForwardRaw.java | 2 +- .../java/eu/faircode/email/FragmentDialogOpenLink.java | 2 +- .../main/java/eu/faircode/email/FragmentDialogTheme.java | 2 +- app/src/main/java/eu/faircode/email/FragmentFolders.java | 2 +- app/src/main/java/eu/faircode/email/FragmentMessages.java | 8 ++++---- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ActivityView.java b/app/src/main/java/eu/faircode/email/ActivityView.java index 96278532f2..fb6f068f20 100644 --- a/app/src/main/java/eu/faircode/email/ActivityView.java +++ b/app/src/main/java/eu/faircode/email/ActivityView.java @@ -441,7 +441,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB public boolean onMenuItemClick(MenuItem item) { String tab = FragmentOptions.TAB_LABELS.get(item.getOrder()); startActivity(new Intent(ActivityView.this, ActivitySetup.class) - .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) + .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) .putExtra("tab", tab)); return true; } @@ -455,7 +455,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB @Override public boolean onLongClick(View view) { startActivity(new Intent(ActivityView.this, ActivitySetup.class) - .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK)); + .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); return true; } }); @@ -1635,7 +1635,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB Intent manage = new Intent(ActivityView.this, ActivitySetup.class) .setAction("misc") - .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) + .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) .putExtra("tab", "misc"); PendingIntent piManage = PendingIntentCompat.getActivity( ActivityView.this, ActivitySetup.PI_MISC, manage, PendingIntent.FLAG_UPDATE_CURRENT); @@ -1929,7 +1929,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB private void onMenuSetup() { startActivity(new Intent(ActivityView.this, ActivitySetup.class) - .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK)); + .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); } private void onMenuLegend() { diff --git a/app/src/main/java/eu/faircode/email/AdapterFolder.java b/app/src/main/java/eu/faircode/email/AdapterFolder.java index 95f9ab21da..dd233f59c1 100644 --- a/app/src/main/java/eu/faircode/email/AdapterFolder.java +++ b/app/src/main/java/eu/faircode/email/AdapterFolder.java @@ -839,7 +839,7 @@ public class AdapterFolder extends RecyclerView.Adapter