aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-11-21 16:47:29 -0800
committerdaneren2005 <daneren2005@gmail.com>2013-11-21 16:47:29 -0800
commit085d8ce2f17d4f2321c97dee5f3909b0f9668b8e (patch)
tree86d10bb96141ba6b620ec91f2872881826bc3cfc /src/github
parent965b83f9227a53eb26142f14f35664e20628224e (diff)
downloaddsub-085d8ce2f17d4f2321c97dee5f3909b0f9668b8e.tar.gz
dsub-085d8ce2f17d4f2321c97dee5f3909b0f9668b8e.tar.bz2
dsub-085d8ce2f17d4f2321c97dee5f3909b0f9668b8e.zip
Added instance to onExecuteSync
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java b/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java
index ceee0e80..106049bb 100644
--- a/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java
+++ b/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java
@@ -101,14 +101,14 @@ public class SubsonicSyncAdapter extends AbstractThreadedSyncAdapter {
int servers = Util.getServerCount(context);
for(int i = 1; i <= servers; i++) {
musicService.setInstance(i);
- onExecuteSync(context);
+ onExecuteSync(context, i);
}
} catch(Exception e) {
Log.e(TAG, "Failed sync for " + className, e);
}
Log.i(TAG, className + " executed in " + (System.currentTimeMillis() - start) + " ms");
}
- public void onExecuteSync(Context context) {
+ public void onExecuteSync(Context context, int instance) {
}
}