From: Soren Stoutner Date: Fri, 15 Jul 2022 23:08:53 +0000 (-0700) Subject: Fix new intents being run again on restart. https://redmine.stoutner.com/issues/807 X-Git-Tag: v3.11~10 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=60f3cf83600b34e83397d1c9800cf2a56274c4a3;p=PrivacyBrowserAndroid.git Fix new intents being run again on restart. https://redmine.stoutner.com/issues/807 --- 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.