Skip to content

Commit

Permalink
SyncAdapter.doUploadSync(): Use user_agent, not interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
murraycu committed Dec 6, 2014
1 parent d025448 commit 7b3ee22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ private boolean doUploadSync(final String itemId, final String subjectId, final
//by reusing the User-Agent string as a parameter value.
//See https://github.com/murraycu/android-galaxyzoo/issues/11
final String key =
getAnnotationPart(max_sequence + 1 ) + "[interface]";
getAnnotationPart(max_sequence + 1 ) + "[user_agent]";
nameValuePairs.add(new BasicNameValuePair(key, HttpUtils.USER_AGENT_MURRAYC));

return mClient.uploadClassificationSync(authName, authApiKey, nameValuePairs);
Expand Down

0 comments on commit 7b3ee22

Please sign in to comment.