diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-07-07 23:37:52 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-07-07 23:37:52 +0200 |
commit | 5c9a2d260d777cc334e5ab424d39a7411273c04f (patch) | |
tree | 1f3d861c94fab9c2586e35dd1fdb9a984c6bf047 /src | |
parent | 409c7810a1fe651b34d18393e00209048fcfa699 (diff) | |
download | AntennaPod-5c9a2d260d777cc334e5ab424d39a7411273c04f.zip |
Added strings for preferences
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(); } - - - } |