summaryrefslogtreecommitdiffstats
path: root/src/com/android/mms/service/MmsService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/mms/service/MmsService.java')
-rw-r--r--src/com/android/mms/service/MmsService.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/android/mms/service/MmsService.java b/src/com/android/mms/service/MmsService.java
index b6058c9..c6a3b8f 100644
--- a/src/com/android/mms/service/MmsService.java
+++ b/src/com/android/mms/service/MmsService.java
@@ -172,7 +172,7 @@ public class MmsService extends Service implements MmsRequest.RequestManager {
}
final SendRequest request = new SendRequest(MmsService.this, subId, contentUri,
- locationUrl, sentIntent, callingPkg, configOverrides);
+ locationUrl, sentIntent, callingPkg, configOverrides, MmsService.this);
final String carrierMessagingServicePackage =
getCarrierMessagingServicePackageIfExists();
@@ -199,8 +199,8 @@ public class MmsService extends Service implements MmsRequest.RequestManager {
// 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);
+ final DownloadRequest request = new DownloadRequest(MmsService.this, subId, locationUrl,
+ contentUri, downloadedIntent, callingPkg, configOverrides, MmsService.this);
final String carrierMessagingServicePackage =
getCarrierMessagingServicePackageIfExists();
if (carrierMessagingServicePackage != null) {
@@ -215,11 +215,11 @@ public class MmsService extends Service implements MmsRequest.RequestManager {
Log.d(TAG, "getCarrierConfigValues");
// Make sure the subId is correct
subId = checkSubId(subId);
- final MmsConfig mmsConfig = MmsConfigManager.getInstance().getMmsConfigBySubId(subId);
+ final Bundle mmsConfig = MmsConfigManager.getInstance().getMmsConfigBySubId(subId);
if (mmsConfig == null) {
return new Bundle();
}
- return mmsConfig.getCarrierConfigValues();
+ return mmsConfig;
}
@Override