mirror of
https://github.com/oxen-io/session-android.git
synced 2025-05-09 19:46:50 +00:00
parent
6181dc4037
commit
e70298e624
@ -41,7 +41,13 @@ public class MmsReceiveJob extends ContextJob {
|
|||||||
}
|
}
|
||||||
|
|
||||||
PduParser parser = new PduParser(data);
|
PduParser parser = new PduParser(data);
|
||||||
GenericPdu pdu = parser.parse();
|
GenericPdu pdu = null;
|
||||||
|
|
||||||
|
try {
|
||||||
|
pdu = parser.parse();
|
||||||
|
} catch (RuntimeException e) {
|
||||||
|
Log.w(TAG, e);
|
||||||
|
}
|
||||||
|
|
||||||
if (pdu != null && pdu.getMessageType() == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND) {
|
if (pdu != null && pdu.getMessageType() == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND) {
|
||||||
MmsDatabase database = DatabaseFactory.getMmsDatabase(context);
|
MmsDatabase database = DatabaseFactory.getMmsDatabase(context);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user