From a5e182f0d7e6d80729244e1d61ab724b6b77f120 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 31 Jul 2021 21:29:13 +0200 Subject: [PATCH] Cleanup --- .../main/java/eu/faircode/email/ActivityView.java | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ActivityView.java b/app/src/main/java/eu/faircode/email/ActivityView.java index 47509e26cd..174668561c 100644 --- a/app/src/main/java/eu/faircode/email/ActivityView.java +++ b/app/src/main/java/eu/faircode/email/ActivityView.java @@ -123,10 +123,9 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB static final int PI_WHY = 2; static final int PI_THREAD = 3; static final int PI_OUTBOX = 4; - static final int PI_ERROR = 5; - static final int PI_UPDATE = 6; - static final int PI_WIDGET = 7; - static final int PI_POWER = 8; + static final int PI_UPDATE = 5; + static final int PI_WIDGET = 6; + static final int PI_POWER = 7; static final String ACTION_VIEW_FOLDERS = BuildConfig.APPLICATION_ID + ".VIEW_FOLDERS"; static final String ACTION_VIEW_MESSAGES = BuildConfig.APPLICATION_ID + ".VIEW_MESSAGES"; @@ -1165,12 +1164,6 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB Helper.viewFAQ(this, 2); } - } else if ("error".equals(action)) { - if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED)) - getSupportFragmentManager().popBackStack("unified", 0); - - Helper.viewFAQ(this, 22); - } else if ("outbox".equals(action)) { if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED)) getSupportFragmentManager().popBackStack("unified", 0);