mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-27 09:01:22 +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 de.danoeh.antennapod.core.feed.FeedItem;
|
||||
import de.danoeh.antennapod.core.preferences.UserPreferences;
|
||||
|
||||
class DBUpgrader {
|
||||
/**
|
||||
@ -288,6 +289,9 @@ class DBUpgrader {
|
||||
|
||||
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 final int VERSION = 1060596;
|
||||
private static final int VERSION = 1070300;
|
||||
|
||||
private final Context context;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user