diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/de/podfetcher/PodcastApp.java | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/de/podfetcher/PodcastApp.java b/src/de/podfetcher/PodcastApp.java index e4c2f0971..b58e7997d 100644 --- a/src/de/podfetcher/PodcastApp.java +++ b/src/de/podfetcher/PodcastApp.java @@ -6,12 +6,16 @@ import de.podfetcher.asynctask.FeedImageLoader; import de.podfetcher.feed.FeedManager; public class PodcastApp extends Application { - private static final String TAG = "PodcastApp"; - public static final String PREF_NAME = "PodfetcherPrefs"; - - - private static PodcastApp singleton; + private static final String TAG = "PodcastApp"; + public static final String PREF_NAME = "PodfetcherPrefs"; + + public static final String PREF_PAUSE_ON_HEADSET_DISCONNECT = "prefPauseOnHeadsetDisconnect"; + public static final String PREF_FOLLOW_QUEUE = "prefFollowQueue"; + public static final String PREF_DOWNLOAD_MEDIA_ON_WIFI_ONLY = "prefDownloadMediaOnWifiOnly"; + public static final String PREF_UPDATE_INTERVALL = "prefAutoUpdateIntervall"; + private static PodcastApp singleton; + public static PodcastApp getInstance() { return singleton; } @@ -20,7 +24,7 @@ public class PodcastApp extends Application { public void onCreate() { super.onCreate(); singleton = this; - + FeedManager manager = FeedManager.getInstance(); manager.loadDBData(getApplicationContext()); } @@ -31,8 +35,5 @@ public class PodcastApp extends Application { Log.w(TAG, "Received onLowOnMemory warning. Cleaning image cache..."); FeedImageLoader.getInstance().wipeImageCache(); } - - - } |