diff options
| author | fionaxu <fionaxu@google.com> | 2017-02-17 17:20:46 -0800 |
|---|---|---|
| committer | fionaxu <fionaxu@google.com> | 2017-02-23 16:50:54 -0800 |
| commit | adfe7009f2fe666237cfbcb5d32b2d353d9183e2 (patch) | |
| tree | bedc11f10534c54a34de8ec73a4f79d07c427e5d /core/java | |
| parent | 7f7a7fa018d0a76ea34d13377713a7625bb7cbd1 (diff) | |
move ACTION_CARRIER_SETUP intent to public api
As per CDD: The "android.*" namespace for intent constants is reserved for public
Android API in AOSP. (Whether public to the full SDK, @SystemApi or
defined in AOSP support libraries.)
ACTION_CARRIER_SETUP intent is generally useful for carrier privileged
apps which is unbundled carrier apps, thus move to public APIs
Bug: 33679956
Test: Manual
Change-Id: Ie2b5d072406513f04676210d08c43d91623c3cd2
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/content/Intent.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 28068c54744c..d92dff6d3c59 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -1115,6 +1115,15 @@ public class Intent implements Parcelable, Cloneable { public static final String ACTION_SIM_ACTIVATION_REQUEST = "android.intent.action.SIM_ACTIVATION_REQUEST"; /** + * Activity Action: Main entry point for carrier setup apps. + * <p>Carrier apps that provide an implementation for this action may be invoked to configure + * carrier service and typically require + * {@link android.telephony.TelephonyManager#hasCarrierPrivileges() carrier privileges} to + * fulfill their duties. + */ + @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) + public static final String ACTION_CARRIER_SETUP = "android.intent.action.CARRIER_SETUP"; + /** * Activity Action: Send a message to someone specified by the data. * <p>Input: {@link #getData} is URI describing the target. * <p>Output: nothing. |
