Skip to content

Commit

Permalink
Fixes #46.
Browse files Browse the repository at this point in the history
  • Loading branch information
NewProggie committed Oct 21, 2011
1 parent de9873d commit dd3d4ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/sparkleshare/android/SetupActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ protected Boolean doInBackground(String... params) {
try {
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
nameValuePairs.add(new BasicNameValuePair("code", edtLinkcode.getText().toString()));
nameValuePairs.add(new BasicNameValuePair("name", android.os.Build.MODEL));
post.setEntity(new UrlEncodedFormEntity(nameValuePairs));
HttpResponse response = client.execute(post);
if (response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
Expand Down

0 comments on commit dd3d4ad

Please sign in to comment.