summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/activity
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2022-04-26 19:31:41 +0200
committerGitHub <noreply@github.com>2022-04-26 19:31:41 +0200
commit08515497d79178e38963a9af7fa481c3fa302ec7 (patch)
treec4167a03786981bdb77e1332408514b07293d70f /app/src/main/java/de/danoeh/antennapod/activity
parent7e9bf1c0a73a7bf61dffa083f777d460cea1bd2e (diff)
parent069a2ca329a342ad0559a48719f49264d2610f00 (diff)
downloadAntennaPod-08515497d79178e38963a9af7fa481c3fa302ec7.zip
Merge pull request #5857 from ByteHamster/decouple-preferences
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);