AI 143278: Merge 142826: Add tutorial to platform. The tutorial can be launched with the new Intent ACTION_SYSTEM_TUTORIAL and
is available through Settings->About->System Tutorial
Automated import of CL 143278
diff --git a/api/current.xml b/api/current.xml
index 19b3bba..a7ac744 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -29087,6 +29087,17 @@
deprecated="not deprecated"
visibility="public"
>
+<field name="ACTION_SYSTEM_TUTORIAL"
+ type="java.lang.String"
+ transient="false"
+ volatile="false"
+ value=""android.intent.action.SYSTEM_TUTORIAL""
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<parameter name="name" type="java.lang.String">
</parameter>
</method>
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index c514df7..429c060 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -967,6 +967,15 @@
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_SEARCH = "android.intent.action.SEARCH";
/**
+ * Activity Action: Start the platform-defined tutorial
+ * <p>Input: {@link android.app.SearchManager#QUERY getStringExtra(SearchManager.QUERY)}
+ * is the text to search for. If empty, simply
+ * enter your search results Activity with the search UI activated.
+ * <p>Output: nothing.
+ */
+ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
+ public static final String ACTION_SYSTEM_TUTORIAL = "android.intent.action.SYSTEM_TUTORIAL";
+ /**
* Activity Action: Perform a web search.
* <p>
* Input: {@link android.app.SearchManager#QUERY