mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
parent
0ef56fb86d
commit
00a18f58a7
@ -189,6 +189,10 @@ public abstract class LegacyMmsConnection {
|
|||||||
if (response.getStatusLine().getStatusCode() == 200) {
|
if (response.getStatusLine().getStatusCode() == 200) {
|
||||||
return parseResponse(response.getEntity().getContent());
|
return parseResponse(response.getEntity().getContent());
|
||||||
}
|
}
|
||||||
|
} catch (NullPointerException npe) {
|
||||||
|
// TODO determine root cause
|
||||||
|
// see: https://github.com/WhisperSystems/Signal-Android/issues/4379
|
||||||
|
throw new IOException(npe);
|
||||||
} finally {
|
} finally {
|
||||||
if (response != null) response.close();
|
if (response != null) response.close();
|
||||||
if (client != null) client.close();
|
if (client != null) client.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user