diff options
Diffstat (limited to 'storage/preferences/src/main')
-rw-r--r-- | storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java b/storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java index a42493692..f2baf1242 100644 --- a/storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java +++ b/storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java @@ -114,6 +114,7 @@ public class UserPreferences { // Other private static final String PREF_DATA_FOLDER = "prefDataFolder"; public static final String PREF_DELETE_REMOVES_FROM_QUEUE = "prefDeleteRemovesFromQueue"; + private static final String PREF_AUTOMATIC_EXPORT_FOLDER = "prefAutomaticExportFolder"; // Mediaplayer private static final String PREF_PLAYBACK_SPEED = "prefPlaybackSpeed"; @@ -282,6 +283,15 @@ public class UserPreferences { prefs.edit().putBoolean(PREF_SHOW_TIME_LEFT, showRemain).apply(); } + @Nullable + public static String getAutomaticExportFolder() { + return prefs.getString(PREF_AUTOMATIC_EXPORT_FOLDER, null); + } + + public static void setAutomaticExportFolder(@Nullable String folder) { + prefs.edit().putString(PREF_AUTOMATIC_EXPORT_FOLDER, folder).apply(); + } + /** * Returns notification priority. * |