Skip to content

Commit

Permalink
Fix Forced Close on instance upload when credentials fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellsundt committed Apr 15, 2013
1 parent bc4a5ac commit dda8274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.odk.collect.android"
android:versionCode="1025"
android:versionCode="1027"
android:versionName="1.3" >

<uses-permission android:name="android.permission.READ_PHONE_STATE" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ protected Outcome doInBackground(Long... values) {
}

if ( !uploadOneSubmission(urlString, id, instance, toUpdate, localContext, uriRemap, outcome) ) {
return null; // get credentials...
return outcome; // get credentials...
}
}
}
Expand Down

0 comments on commit dda8274

Please sign in to comment.