Make feed update work IDs not dependent on classname to avoid accidental changing of IDs due to class refactoring.

This commit is contained in:
orionlee 2019-09-01 10:02:36 -07:00
parent ce96eeafb6
commit 608b874057
1 changed files with 2 additions and 2 deletions

View File

@ -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() {