summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/activity
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-04-25 22:45:47 +0200
committerByteHamster <info@bytehamster.com>2022-04-26 17:57:42 +0200
commit069a2ca329a342ad0559a48719f49264d2610f00 (patch)
tree59cc8327dec62ddfd105d1ad2fdb59dcba12736e /app/src/main/java/de/danoeh/antennapod/activity
parent20363ee41c814b14b16999505fa850a0943346dd (diff)
downloadAntennaPod-069a2ca329a342ad0559a48719f49264d2610f00.zip
Decouple preferences
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/activity')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java
index 3f7a5db68..b23e22c9f 100644
--- a/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java
+++ b/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java
@@ -231,6 +231,7 @@ public class MainActivity extends CastEnabledActivity {
// for backward compatibility, we only change defaults for fresh installs
UserPreferences.setUpdateInterval(12);
+ AutoUpdateManager.restartUpdateAlarm(this);
SharedPreferences.Editor edit = prefs.edit();
edit.putBoolean(PREF_IS_FIRST_LAUNCH, false);