4
0
mirror of https://github.com/cwinfo/envayasms.git synced 2025-07-13 01:36:27 +00:00

handle sending and receiving multipart sms messages > 160 chars

This commit is contained in:
Jesse Young
2011-09-23 23:00:51 -07:00
parent 1cf69e882a
commit 6384942c57
10 changed files with 180 additions and 49 deletions

View File

@ -217,7 +217,6 @@ public class HttpTask extends AsyncTask<String, Void, HttpResponse> {
try
{
handleResponse(response);
response.getEntity().consumeContent();
}
catch (Throwable ex)
{
@ -225,6 +224,13 @@ public class HttpTask extends AsyncTask<String, Void, HttpResponse> {
app.logError("Error processing server response", ex);
handleFailure();
}
try
{
response.getEntity().consumeContent();
}
catch (IOException ex)
{
}
}
else
{