From f3e7dc59e6ddd45525bb525cc8cfc571a2484911 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Wed, 5 Feb 2020 16:05:19 +0100 Subject: [PATCH] Fixed not restarting correctly after import This is the same as 72a8e0f3b622641f9e6e9ff6001f12db87d9c948 but that commit got lost when merging master into develop --- .../fragment/preferences/ImportExportPreferencesFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java index 8036a7506..4f0feef47 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java @@ -186,6 +186,7 @@ public class ImportExportPreferencesFragment extends PreferenceFragmentCompat { ComponentName cn = intent.getComponent(); Intent mainIntent = Intent.makeRestartActivityTask(cn); startActivity(mainIntent); + Runtime.getRuntime().exit(0); }); d.show(); }