From 60f3cf83600b34e83397d1c9800cf2a56274c4a3 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Fri, 15 Jul 2022 16:08:53 -0700 Subject: [PATCH] Fix new intents being run again on restart. https://redmine.stoutner.com/issues/807 --- .../privacybrowser/activities/MainWebViewActivity.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java index 24c742c2..e54b0687 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java +++ b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java @@ -621,9 +621,6 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook // Run the default commands. super.onNewIntent(intent); - // Replace the intent that started the app with this one. - setIntent(intent); - // Check to see if the app is being restarted from a saved state. if (savedStateArrayList == null || savedStateArrayList.size() == 0) { // The activity is not being restarted from a saved state. // Get the information from the intent. -- 2.45.2