From 5cec9203a19f41b2ae1cd434834ecc63f2c0a142 Mon Sep 17 00:00:00 2001 From: Cheuksan Wang Date: Tue, 16 Dec 2014 13:40:36 -0800 Subject: remove actions and calls for the old sms/mms api BUG: 18005911 Change-Id: Ifb900eb7f8bc03e205ac46d3dfb27e4baaaaf6b8 --- services/core/java/com/android/server/MmsServiceBroker.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'services') 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, -- cgit v1.1