summaryrefslogtreecommitdiff
path: root/core/java/android/content/Intent.java
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2021-04-09 00:57:45 +0000
committerSvet Ganov <svetoslavganov@google.com>2021-04-09 15:29:18 +0000
commit0d6d9f972efef6fef43dfe22cf593084a0ff0f76 (patch)
tree56b56955bd360b646fb75fee62abec858afd4336 /core/java/android/content/Intent.java
parenta7e6b9481b35f5fa485e8f7afb07684c2c517b22 (diff)
Add AR intent to ingest exempt attribution tags
bug: 179069158 Test: atest CtsActivityRecognitionTestCases Change-Id: I3fa454351a586cc5d408217a2c1382048e6031e4
Diffstat (limited to 'core/java/android/content/Intent.java')
-rw-r--r--core/java/android/content/Intent.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index 183e73c62f45..fd0bd23603f9 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -848,6 +848,21 @@ public class Intent implements Parcelable, Cloneable {
= "android.intent.action.SHOW_APP_INFO";
/**
+ * Activity Action: Placeholder that the component handling it can do activity
+ * recognition. Can be placed on a service. Only one service per package is
+ * supported.
+ *
+ * <p>Input: Nothing.</p>
+ * <p>Output: Nothing </p>
+ *
+ * @hide
+ */
+ @SystemApi
+ @SdkConstant(SdkConstantType.SERVICE_ACTION)
+ public static final String ACTION_ACTIVITY_RECOGNIZER =
+ "android.intent.action.ACTIVITY_RECOGNIZER";
+
+ /**
* Represents a shortcut/live folder icon resource.
*
* @see Intent#ACTION_CREATE_SHORTCUT