kopia lustrzana https://github.com/ryukoposting/Signal-Android
Actually fallback to manual MMS receiving when system fails
Should resolve #6668 for tmobile users on older lollipop phones // FREEBIEfork-5.53.8
rodzic
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) {
|
||||||
|
|
Ładowanie…
Reference in New Issue