diff options
author | Jonathan Basseri <misterikkit@google.com> | 2015-02-25 13:01:52 -0800 |
---|---|---|
committer | Junda Liu <junda@google.com> | 2015-04-16 11:40:33 -0700 |
commit | 9a1c9b67c4b2426884deb60c1ff84130ab47333c (patch) | |
tree | 55d55270aaa3fc809b182b454a410b725b4e808b /core/java/android/content | |
parent | 3f2631f526d0a0ac0b57ac9f6d241bcc7aeb5f5b (diff) | |
download | frameworks_base-9a1c9b67c4b2426884deb60c1ff84130ab47333c.zip frameworks_base-9a1c9b67c4b2426884deb60c1ff84130ab47333c.tar.gz frameworks_base-9a1c9b67c4b2426884deb60c1ff84130ab47333c.tar.bz2 |
Adding Carrier Config API.
UICC privileged carrier apps will extend CarrierConfigService to provide
carrier-specific configuration. Apps/services will use
CarrierConfigManager to read the current configuration.
CarrierConfigManager also defines the set of configuration variables and
their default values.
Bug: b/19483786
Change-Id: I027211b43276afd6fe893ae50048c52f2aed5cf5
Diffstat (limited to 'core/java/android/content')
-rw-r--r-- | core/java/android/content/Context.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index 0cbf960..370f61c 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -2193,6 +2193,7 @@ public abstract class Context { MEDIA_ROUTER_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, + CARRIER_CONFIG_SERVICE, TELECOM_SERVICE, CLIPBOARD_SERVICE, INPUT_METHOD_SERVICE, @@ -2338,6 +2339,8 @@ public abstract class Context { * @see android.telephony.TelephonyManager * @see #TELEPHONY_SUBSCRIPTION_SERVICE * @see android.telephony.SubscriptionManager + * @see #CARRIER_CONFIG_SERVICE + * @see android.telephony.CarrierConfigManager * @see #INPUT_METHOD_SERVICE * @see android.view.inputmethod.InputMethodManager * @see #UI_MODE_SERVICE @@ -2755,6 +2758,16 @@ public abstract class Context { /** * Use with {@link #getSystemService} to retrieve a + * {@link android.telephony.CarrierConfigManager} for reading carrier configuration values. + * + * @see #getSystemService + * @see android.telephony.CarrierConfigManager + */ + public static final String CARRIER_CONFIG_SERVICE = "carrier_config"; + + /** + * Use with {@link #getSystemService} to retrieve a + * {@link android.text.ClipboardManager} for accessing and modifying * {@link android.content.ClipboardManager} for accessing and modifying * the contents of the global clipboard. * |