diff options
author | Hamidreza Bayat <hamidrezabayat76@gmail.com> | 2020-04-11 02:39:37 +0430 |
---|---|---|
committer | Hamidreza Bayat <hamidrezabayat76@gmail.com> | 2020-04-11 02:39:37 +0430 |
commit | 1b24b0943284d49789754d35d3835be6ded7755d (patch) | |
tree | ae86148b9ef60f1fc7fc6e2d56f123102f64805c /core | |
parent | fff0dce83e6a2d0e225d0a94bad664375b04c1ca (diff) | |
download | AntennaPod-1b24b0943284d49789754d35d3835be6ded7755d.zip |
Fix Checkstyle
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/util/download/AutoUpdateManager.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/download/AutoUpdateManager.java b/core/src/main/java/de/danoeh/antennapod/core/util/download/AutoUpdateManager.java index 62c5accd8..991089910 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/util/download/AutoUpdateManager.java +++ b/core/src/main/java/de/danoeh/antennapod/core/util/download/AutoUpdateManager.java @@ -32,7 +32,7 @@ public class AutoUpdateManager { /** * Start / restart periodic auto feed refresh - * @param context + * @param context Context */ public static void restartUpdateAlarm(Context context) { if (UserPreferences.isAutoUpdateDisabled()) { @@ -82,7 +82,8 @@ public class AutoUpdateManager { .setInitialDelay(triggerAtMillis, TimeUnit.MILLISECONDS) .build(); - WorkManager.getInstance(context).enqueueUniqueWork(WORK_ID_FEED_UPDATE, ExistingWorkPolicy.REPLACE, workRequest); + WorkManager.getInstance(context).enqueueUniqueWork(WORK_ID_FEED_UPDATE, + ExistingWorkPolicy.REPLACE, workRequest); } /** @@ -90,7 +91,7 @@ public class AutoUpdateManager { * * Callers from UI should use {@link #runImmediate(Context)}, as it will guarantee * the refresh be run immediately. - * @param context + * @param context Context */ public static void runOnce(Context context) { Log.d(TAG, "Run auto update once, as soon as OS allows."); @@ -104,7 +105,8 @@ public class AutoUpdateManager { ) .build(); - WorkManager.getInstance(context).enqueueUniqueWork(WORK_ID_FEED_UPDATE_ONCE, ExistingWorkPolicy.REPLACE, workRequest); + WorkManager.getInstance(context).enqueueUniqueWork(WORK_ID_FEED_UPDATE_ONCE, + ExistingWorkPolicy.REPLACE, workRequest); } |