summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorCheuksan Wang <edwang@google.com>2014-12-16 13:40:36 -0800
committerCheuksan Wang <edwang@google.com>2014-12-16 13:40:36 -0800
commit5cec9203a19f41b2ae1cd434834ecc63f2c0a142 (patch)
tree7d0c2529f05e6408b157ae74d5cb18b1b217b793 /services
parent0bb83b07d1602c1a99c938471edfc411a47dbffc (diff)
downloadframeworks_base-5cec9203a19f41b2ae1cd434834ecc63f2c0a142.zip
frameworks_base-5cec9203a19f41b2ae1cd434834ecc63f2c0a142.tar.gz
frameworks_base-5cec9203a19f41b2ae1cd434834ecc63f2c0a142.tar.bz2
remove actions and calls for the old sms/mms api
BUG: 18005911 Change-Id: Ifb900eb7f8bc03e205ac46d3dfb27e4baaaaf6b8
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/MmsServiceBroker.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/core/java/com/android/server/MmsServiceBroker.java b/services/core/java/com/android/server/MmsServiceBroker.java
index 83b1919..0de6a03 100644
--- a/services/core/java/com/android/server/MmsServiceBroker.java
+++ b/services/core/java/com/android/server/MmsServiceBroker.java
@@ -35,7 +35,7 @@ import android.os.Message;
import android.os.RemoteException;
import android.os.SystemClock;
import android.os.UserHandle;
-import android.provider.Telephony;
+import android.service.carrier.CarrierMessagingService;
import android.telephony.TelephonyManager;
import android.util.Slog;
@@ -230,7 +230,7 @@ public class MmsServiceBroker extends SystemService {
return;
}
contentUri = adjustUriForUserAndGrantPermission(contentUri,
- Telephony.Mms.Intents.MMS_SEND_ACTION,
+ CarrierMessagingService.SERVICE_INTERFACE,
Intent.FLAG_GRANT_READ_URI_PERMISSION);
getServiceGuarded().sendMessage(subId, callingPkg, contentUri, locationUrl,
configOverrides, sentIntent);
@@ -248,7 +248,7 @@ public class MmsServiceBroker extends SystemService {
return;
}
contentUri = adjustUriForUserAndGrantPermission(contentUri,
- Telephony.Mms.Intents.MMS_DOWNLOAD_ACTION,
+ CarrierMessagingService.SERVICE_INTERFACE,
Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
getServiceGuarded().downloadMessage(subId, callingPkg, locationUrl, contentUri,