aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-12-31 09:49:36 -0800
committerScott Jackson <daneren2005@gmail.com>2013-12-31 09:49:36 -0800
commit0c148e26b21b68a06926ff8b0c1fc3aae46fad13 (patch)
treef36c11d893d5d26dfd57f8323c18644218d4c1cc /src
parentc326b1445a185a23b761dcd3ce99c49bec064acf (diff)
downloaddsub-0c148e26b21b68a06926ff8b0c1fc3aae46fad13.tar.gz
dsub-0c148e26b21b68a06926ff8b0c1fc3aae46fad13.tar.bz2
dsub-0c148e26b21b68a06926ff8b0c1fc3aae46fad13.zip
#233 Fix sync files differing when using wifi address
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/util/SyncUtil.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/github/daneren2005/dsub/util/SyncUtil.java b/src/github/daneren2005/dsub/util/SyncUtil.java
index 17ec4b5c..fe7b4e29 100644
--- a/src/github/daneren2005/dsub/util/SyncUtil.java
+++ b/src/github/daneren2005/dsub/util/SyncUtil.java
@@ -83,7 +83,7 @@ public final class SyncUtil {
return getPlaylistSyncFile(context, instance);
}
public static String getPlaylistSyncFile(Context context, int instance) {
- return "sync-playlist-" + (Util.getRestUrl(context, null, instance)).hashCode() + ".ser";
+ return "sync-playlist-" + (Util.getRestUrl(context, null, instance, false)).hashCode() + ".ser";
}
// Podcast sync
@@ -131,7 +131,7 @@ public final class SyncUtil {
return getPodcastSyncFile(context, instance);
}
public static String getPodcastSyncFile(Context context, int instance) {
- return "sync-podcast-" + (Util.getRestUrl(context, null, instance)).hashCode() + ".ser";
+ return "sync-podcast-" + (Util.getRestUrl(context, null, instance, false)).hashCode() + ".ser";
}
// Starred
@@ -146,7 +146,7 @@ public final class SyncUtil {
FileUtil.serializeCompressed(context, syncedList, SyncUtil.getStarredSyncFile(context, instance));
}
public static String getStarredSyncFile(Context context, int instance) {
- return "sync-starred-" + (Util.getRestUrl(context, null, instance)).hashCode() + ".ser";
+ return "sync-starred-" + (Util.getRestUrl(context, null, instance, false)).hashCode() + ".ser";
}
// Most Recently Added
@@ -158,7 +158,7 @@ public final class SyncUtil {
return list;
}
public static String getMostRecentSyncFile(Context context, int instance) {
- return "sync-most_recent-" + (Util.getRestUrl(context, null, instance)).hashCode() + ".ser";
+ return "sync-most_recent-" + (Util.getRestUrl(context, null, instance, false)).hashCode() + ".ser";
}
public static void showSyncNotification(final Context context, int stringId, String extra) {