Fix NPE introduced by #6886
This commit is contained in:
parent
34ed55d3ac
commit
40d14698b8
1 changed files with 3 additions and 0 deletions
|
@ -95,6 +95,9 @@ public class IncomingLollipopMmsConnection extends LollipopMmsConnection impleme
|
|||
Log.w(TAG, baos.size() + "-byte response: ");// + Hex.dump(baos.toByteArray()));
|
||||
|
||||
RetrieveConf retrieved = (RetrieveConf) new PduParser(baos.toByteArray()).parse();
|
||||
|
||||
if (retrieved == null) return null;
|
||||
|
||||
sendRetrievedAcknowledgement(transactionId, retrieved.getMmsVersion(), subscriptionId);
|
||||
return retrieved;
|
||||
} catch (IOException | TimeoutException e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue