Actually fallback to manual MMS receiving when system fails

Should resolve #6668 for tmobile users on older lollipop phones
// FREEBIE
pull/1/head
Moxie Marlinspike 8 years ago
parent 15df691017
commit 782bd6003b

@ -67,7 +67,11 @@ public class CompatMmsConnection implements OutgoingMmsConnection, IncomingMmsCo
{
if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) {
Log.w(TAG, "Receiving via Lollipop API");
return new IncomingLollipopMmsConnection(context).retrieve(contentLocation, transactionId, subscriptionId);
try {
return new IncomingLollipopMmsConnection(context).retrieve(contentLocation, transactionId, subscriptionId);
} catch (MmsException e) {
Log.w(TAG, e);
}
}
if (subscriptionId == -1) {

Loading…
Cancel
Save