diff options
author | orionlee <orionlee@yahoo.com> | 2019-09-01 10:02:36 -0700 |
---|---|---|
committer | orionlee <orionlee@yahoo.com> | 2019-09-24 10:12:14 -0700 |
commit | 608b874057df09571e8ea93b75ca07f1a41edb00 (patch) | |
tree | fadb1cdfeb7e61fad94e32cf3602775058ae1dd8 /core/src/main | |
parent | ce96eeafb6a8945536cecb2476173e7991126754 (diff) | |
download | AntennaPod-608b874057df09571e8ea93b75ca07f1a41edb00.zip |
Make feed update work IDs not dependent on classname to avoid accidental changing of IDs due to class refactoring.
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/util/download/AutoUpdateManager.java | 4 |
1 files changed, 2 insertions, 2 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 6bf3631e7..a92c4b740 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 @@ -18,8 +18,8 @@ import de.danoeh.antennapod.core.preferences.UserPreferences; import de.danoeh.antennapod.core.service.FeedUpdateWorker; public class AutoUpdateManager { - private static final String WORK_ID_FEED_UPDATE = FeedUpdateWorker.class.getName(); - private static final String WORK_ID_FEED_UPDATE_IMMEDIATE = FeedUpdateWorker.class.getName() +"Immediate"; + private static final String WORK_ID_FEED_UPDATE = "de.danoeh.antennapod.core.service.FeedUpdateWorker"; + private static final String WORK_ID_FEED_UPDATE_IMMEDIATE = WORK_ID_FEED_UPDATE + "Immediate"; private static final String TAG = "AutoUpdateManager"; private AutoUpdateManager() { |