summaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2019-06-03 11:44:18 +0200
committerByteHamster <info@bytehamster.com>2019-06-03 11:44:18 +0200
commit5630bf756d090ec1cb7b162e99441e66e0ff153a (patch)
tree476fd1424dd33e2868f4bb847ed7838d9f7a957e /core/src/main
parentd372aa957781127a9d20ac1e3127c886379100d1 (diff)
downloadAntennaPod-5630bf756d090ec1cb7b162e99441e66e0ff153a.zip
Revert "Start WorkManager on upgrade"
This reverts commit d372aa957781127a9d20ac1e3127c886379100d1.
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/storage/DBUpgrader.java4
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/storage/PodDBAdapter.java2
2 files changed, 1 insertions, 5 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/storage/DBUpgrader.java b/core/src/main/java/de/danoeh/antennapod/core/storage/DBUpgrader.java
index 6ea72e1f6..0beb765e7 100644
--- a/core/src/main/java/de/danoeh/antennapod/core/storage/DBUpgrader.java
+++ b/core/src/main/java/de/danoeh/antennapod/core/storage/DBUpgrader.java
@@ -7,7 +7,6 @@ import android.media.MediaMetadataRetriever;
import android.util.Log;
import de.danoeh.antennapod.core.feed.FeedItem;
-import de.danoeh.antennapod.core.preferences.UserPreferences;
class DBUpgrader {
/**
@@ -289,9 +288,6 @@ class DBUpgrader {
db.execSQL("DROP TABLE " + PodDBAdapter.TABLE_NAME_FEED_IMAGES);
}
- if (oldVersion < 1070300) {
- UserPreferences.restartUpdateAlarm();
- }
}
}
diff --git a/core/src/main/java/de/danoeh/antennapod/core/storage/PodDBAdapter.java b/core/src/main/java/de/danoeh/antennapod/core/storage/PodDBAdapter.java
index 41463d4ba..405c246c9 100644
--- a/core/src/main/java/de/danoeh/antennapod/core/storage/PodDBAdapter.java
+++ b/core/src/main/java/de/danoeh/antennapod/core/storage/PodDBAdapter.java
@@ -1542,7 +1542,7 @@ public class PodDBAdapter {
*/
private static class PodDBHelper extends SQLiteOpenHelper {
- private static final int VERSION = 1070300;
+ private static final int VERSION = 1060596;
private final Context context;