Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Server confirmed to be returning false negatives. We will ignore serv… #217

Merged
merged 1 commit into from
Jan 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import android.widget.ProgressBar;
import android.widget.RadioButton;
import android.widget.TextView;
import android.widget.Toast;

import org.benetech.android.R;
import org.bookshare.net.BookshareHttpOauth2Client;
Expand Down Expand Up @@ -152,7 +151,11 @@ protected Boolean doInBackground(String... urls) {
}

protected void onPostExecute(Boolean result) {
AddToReadingListDialogActivity.this.handleResult(result, readingList);
/*currently the web service returns a false error here, indicating the call failed but actually adding the title to the list.
For now we're ignoring server response and returning positive always.
ToDo Change when the server is fixed
*/
AddToReadingListDialogActivity.this.handleResult(true, readingList);
}
}

Expand Down