Fix crash from treating mms groups like Signal groups after sms is disabled.

Fixes #12534
This commit is contained in:
Cody Henthorne
2022-10-17 11:33:16 -04:00
committed by Greyson Parrelli
parent ba3dd79d4e
commit 3b3dcdcb14
3 changed files with 7 additions and 2 deletions

View File

@@ -130,7 +130,7 @@ public class IncomingLollipopMmsConnection extends LollipopMmsConnection impleme
try {
retrieved = (RetrieveConf) new PduParser(baos.toByteArray(), parseContentDisposition).parse();
} catch (NullPointerException e) {
} catch (AssertionError | NullPointerException e) {
Log.w(TAG, "Badly formatted MMS message caused the parser to fail.", e);
throw new MmsException(e);
}