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:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user