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
This commit is contained in:
Ed Heyl
2009-03-27 16:52:45 -07:00
committed by The Android Open Source Project
parent d9b7d24667
commit a2debb356d
2 changed files with 20 additions and 0 deletions

View File

@@ -29087,6 +29087,17 @@
deprecated="not deprecated"
visibility="public"
>
<field name="ACTION_SYSTEM_TUTORIAL"
type="java.lang.String"
transient="false"
volatile="false"
value="&quot;android.intent.action.SYSTEM_TUTORIAL&quot;"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<parameter name="name" type="java.lang.String">
</parameter>
</method>

View File

@@ -966,6 +966,15 @@ public class Intent implements Parcelable {
*/
@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>