summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorSarah Chin <sarahchin@google.com>2020-01-10 16:33:55 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-01-10 16:33:55 +0000
commitb93ab6213599fa7617c4dbe914cd8247ae6bd782 (patch)
tree5f6f7ddb7d6b3d594da8e34c08f08c529a627b99 /core/java
parentbec5dc830ebda683abf8ef3a7667d3be77b7404c (diff)
parent2137c9bd3905def08015d83cf15dda1bc3d97679 (diff)
Merge "Make MmsManager public"
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/content/Context.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index f3596411fb6b..6ebded5505e9 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -3318,6 +3318,7 @@ public abstract class Context {
TELEPHONY_SUBSCRIPTION_SERVICE,
CARRIER_CONFIG_SERVICE,
EUICC_SERVICE,
+ MMS_SERVICE,
TELECOM_SERVICE,
CLIPBOARD_SERVICE,
INPUT_METHOD_SERVICE,
@@ -3513,6 +3514,8 @@ public abstract class Context {
* @see android.telephony.CarrierConfigManager
* @see #EUICC_SERVICE
* @see android.telephony.euicc.EuiccManager
+ * @see #MMS_SERVICE
+ * @see android.telephony.MmsManager
* @see #INPUT_METHOD_SERVICE
* @see android.view.inputmethod.InputMethodManager
* @see #UI_MODE_SERVICE
@@ -4152,6 +4155,15 @@ public abstract class Context {
/**
* Use with {@link #getSystemService(String)} to retrieve a
+ * {@link android.telephony.MmsManager} to send/receive MMS messages.
+ *
+ * @see #getSystemService(String)
+ * @see android.telephony.MmsManager
+ */
+ public static final String MMS_SERVICE = "mms";
+
+ /**
+ * Use with {@link #getSystemService(String)} to retrieve a
* {@link android.content.ClipboardManager} for accessing and modifying
* the contents of the global clipboard.
*