mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Actually fallback to manual MMS receiving when system fails
Should resolve #6668 for tmobile users on older lollipop phones // FREEBIE
This commit is contained in:
parent
15df691017
commit
782bd6003b
@ -67,7 +67,11 @@ public class CompatMmsConnection implements OutgoingMmsConnection, IncomingMmsCo
|
|||||||
{
|
{
|
||||||
if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) {
|
if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) {
|
||||||
Log.w(TAG, "Receiving via Lollipop API");
|
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) {
|
if (subscriptionId == -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user