Merge "Add new action for launching the user's music player app."

This commit is contained in:
Daniel Sandler
2010-02-22 06:32:25 -08:00
committed by Android (Google) Code Review
2 changed files with 18 additions and 0 deletions

View File

@@ -130743,6 +130743,17 @@
visibility="public"
>
</field>
<field name="INTENT_ACTION_MUSIC_PLAYER"
type="java.lang.String"
transient="false"
volatile="false"
value="&quot;android.intent.action.MUSIC_PLAYER&quot;"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="INTENT_ACTION_STILL_IMAGE_CAMERA"
type="java.lang.String"
transient="false"

View File

@@ -53,6 +53,13 @@ public final class MediaStore {
private static final String CONTENT_AUTHORITY_SLASH = "content://" + AUTHORITY + "/";
/**
* Activity Action: Launch a music player.
* The activity should be able to play, browse, or manipulate music files stored on the device.
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String INTENT_ACTION_MUSIC_PLAYER = "android.intent.action.MUSIC_PLAYER";
/**
* Activity Action: Perform a search for media.
* Contains at least the {@link android.app.SearchManager#QUERY} extra.