summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorBrad Ebinger <breadley@google.com>2017-03-31 10:21:09 -0700
committerBrad Ebinger <breadley@google.com>2017-03-31 22:14:53 +0000
commit7a8d3528716e22ca5291783700bd1bb305f8a686 (patch)
tree2cef81f4d6f121d026281074b71ea5b8eca04c66 /core/java/android
parent9220ff1f5a5793c3414ca823534a27ff19ed0801 (diff)
Move CALL_PRIVILEGED/EMERGENCY to @SystemApi
CALL_PRIVILEGED and CALL_EMERGENCY APIs are used by vendors and Android Wear and should be moved to @SystemApi to pass CTS tests. Bug: 36566521 Test: CTS tests Change-Id: I73a0b2c4e551b4738c4c322d9822a85ee19d269b
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/content/Intent.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index 116224b35d06..81aea8d178d5 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -1093,6 +1093,8 @@ public class Intent implements Parcelable, Cloneable {
* <p>Output: nothing.
* @hide
*/
+ @SystemApi
+ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_CALL_EMERGENCY = "android.intent.action.CALL_EMERGENCY";
/**
* Activity action: Perform a call to any number (emergency or not)
@@ -1102,6 +1104,8 @@ public class Intent implements Parcelable, Cloneable {
* <p>Output: nothing.
* @hide
*/
+ @SystemApi
+ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_CALL_PRIVILEGED = "android.intent.action.CALL_PRIVILEGED";
/**