From 72a8e0f3b622641f9e6e9ff6001f12db87d9c948 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Wed, 15 Jan 2020 10:30:49 +0100 Subject: [PATCH] Fixed importing old database models Force full restart to trigger the upgrade methods again. --- .../java/de/danoeh/antennapod/activity/ImportExportActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/de/danoeh/antennapod/activity/ImportExportActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/ImportExportActivity.java index f85a1cd77..c7f91c9a4 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/ImportExportActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/ImportExportActivity.java @@ -160,6 +160,7 @@ public class ImportExportActivity extends AppCompatActivity { ComponentName cn = intent.getComponent(); Intent mainIntent = Intent.makeRestartActivityTask(cn); startActivity(mainIntent); + Runtime.getRuntime().exit(0); }); d.show(); }