mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-28 17:39:24 +01:00
Start WorkManager on upgrade
This commit is contained in:
parent
f05132a716
commit
d372aa9577
@ -7,6 +7,7 @@ import android.media.MediaMetadataRetriever;
|
|||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import de.danoeh.antennapod.core.feed.FeedItem;
|
import de.danoeh.antennapod.core.feed.FeedItem;
|
||||||
|
import de.danoeh.antennapod.core.preferences.UserPreferences;
|
||||||
|
|
||||||
class DBUpgrader {
|
class DBUpgrader {
|
||||||
/**
|
/**
|
||||||
@ -288,6 +289,9 @@ class DBUpgrader {
|
|||||||
|
|
||||||
db.execSQL("DROP TABLE " + PodDBAdapter.TABLE_NAME_FEED_IMAGES);
|
db.execSQL("DROP TABLE " + PodDBAdapter.TABLE_NAME_FEED_IMAGES);
|
||||||
}
|
}
|
||||||
|
if (oldVersion < 1070300) {
|
||||||
|
UserPreferences.restartUpdateAlarm();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1542,7 +1542,7 @@ public class PodDBAdapter {
|
|||||||
*/
|
*/
|
||||||
private static class PodDBHelper extends SQLiteOpenHelper {
|
private static class PodDBHelper extends SQLiteOpenHelper {
|
||||||
|
|
||||||
private static final int VERSION = 1060596;
|
private static final int VERSION = 1070300;
|
||||||
|
|
||||||
private final Context context;
|
private final Context context;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user