aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorMoritz Maxeiner <mm@ucw.sh>2020-09-21 20:03:11 +0200
committerMoritz Maxeiner <mm@ucw.sh>2020-09-26 14:53:23 +0200
commit72bef3c7ae8fd72fdba25d41df7e7c517cf50e8c (patch)
treef595b2e05c90037dcf97a4c5491a36dd358bfc38 /app/src/main/java
parentf34156e40c6eb01b13591b3c3b4973b027dc8a41 (diff)
downloaddsub-72bef3c7ae8fd72fdba25d41df7e7c517cf50e8c.tar.gz
dsub-72bef3c7ae8fd72fdba25d41df7e7c517cf50e8c.tar.bz2
dsub-72bef3c7ae8fd72fdba25d41df7e7c517cf50e8c.zip
Use applicationId for preferences und offline sync file names
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/Constants.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/Constants.java b/app/src/main/java/github/daneren2005/dsub/util/Constants.java
index 9e6708be..744c2469 100644
--- a/app/src/main/java/github/daneren2005/dsub/util/Constants.java
+++ b/app/src/main/java/github/daneren2005/dsub/util/Constants.java
@@ -18,6 +18,8 @@
*/
package github.daneren2005.dsub.util;
+import github.daneren2005.dsub.BuildConfig;
+
/**
* @author Sindre Mehus
* @version $Id$
@@ -214,8 +216,8 @@ public final class Constants {
public static final String FRAGMENT_POSITION = "fragmentPosition";
// Name of the preferences file.
- public static final String PREFERENCES_FILE_NAME = "github.daneren2005.dsub_preferences";
- public static final String OFFLINE_SYNC_NAME = "github.daneren2005.dsub.offline";
+ public static final String PREFERENCES_FILE_NAME = BuildConfig.APPLICATION_ID + "_preferences";
+ public static final String OFFLINE_SYNC_NAME = BuildConfig.APPLICATION_ID + ".offline";
public static final String OFFLINE_SYNC_DEFAULT = "syncDefaults";
// Account prefs