aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-08-29 07:50:14 -0700
committerdaneren2005 <daneren2005@gmail.com>2013-08-29 07:50:14 -0700
commitd605276e0a4cb6efd51a84d346bc7cf9b023d210 (patch)
treea53671778b13afb073e4d552b9183727f9cadfcd /src
parenta71e7da08ac17d0db350d240299f4dce04efd1f7 (diff)
downloaddsub-d605276e0a4cb6efd51a84d346bc7cf9b023d210.tar.gz
dsub-d605276e0a4cb6efd51a84d346bc7cf9b023d210.tar.bz2
dsub-d605276e0a4cb6efd51a84d346bc7cf9b023d210.zip
addPeriodicSync needs the authority, not account type
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/activity/MainActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/activity/MainActivity.java b/src/github/daneren2005/dsub/activity/MainActivity.java
index 042fde94..43782b27 100644
--- a/src/github/daneren2005/dsub/activity/MainActivity.java
+++ b/src/github/daneren2005/dsub/activity/MainActivity.java
@@ -317,7 +317,7 @@ public class MainActivity extends SubsonicActivity {
accountManager.addAccountExplicitly(account, null, null);
// Make sync run every hour
- ContentResolver.addPeriodicSync(account, Constants.SYNC_ACCOUNT_TYPE, new Bundle(), 1000L * 60L * 60L);
+ ContentResolver.addPeriodicSync(account, Constants.SYNC_ACCOUNT_AUTHORITY, new Bundle(), 1000L * 60L * 60L);
}
private void showInfoDialog() {