summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/mms/service/MmsService.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/com/android/mms/service/MmsService.java b/src/com/android/mms/service/MmsService.java
index dd01f30..b6058c9 100644
--- a/src/com/android/mms/service/MmsService.java
+++ b/src/com/android/mms/service/MmsService.java
@@ -194,11 +194,10 @@ public class MmsService extends Service implements MmsRequest.RequestManager {
// Make sure the subId is correct
subId = checkSubId(subId);
- // Make sure the subId is active
- if (!isActiveSubId(subId)) {
- sendErrorInPendingIntent(downloadedIntent);
- return;
- }
+ // If the subId is no longer active it could be caused by
+ // an MVNO using multiple subIds, so we should try to
+ // download anyway.
+ // TODO: Fail fast when downloading will fail (i.e. SIM swapped)
final DownloadRequest request = new DownloadRequest(MmsService.this, subId,
locationUrl, contentUri, downloadedIntent, callingPkg, configOverrides);