summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/ContentResolver.java
diff options
context:
space:
mode:
authorMatt Casey <mrcasey@google.com>2014-02-05 15:51:39 -0800
committerMatt Casey <mrcasey@google.com>2014-02-20 17:06:09 -0800
commitbd7bcf0fba1a991e80ea279b090aa584707fdabf (patch)
tree06eaf33d1df845627770dec45e30d8d498cd1a36 /core/java/android/content/ContentResolver.java
parente6415f50b10fe455df2cbe568a90bc762cce3cf7 (diff)
downloadframeworks_base-bd7bcf0fba1a991e80ea279b090aa584707fdabf.zip
frameworks_base-bd7bcf0fba1a991e80ea279b090aa584707fdabf.tar.gz
frameworks_base-bd7bcf0fba1a991e80ea279b090aa584707fdabf.tar.bz2
Add more MediaStore constants for playback intents
Constants are derived from this doc: https://docs.google.com/a/google.com/document/d/1lmlFcTeefLDRp_bpMrXk3yK9nKxoTVfpcShanpLxiMg/edit#heading=h.b16863tyyjzv That doc contains the full explanation of these changes. I'm making this change on behalf of {elmas,pengr} who don't have android source access but designed this in collaboration with rharagutchi on the play music team. I'll probably have to route any significant questions through them. Bug: 12874557 Change-Id: I85a4bee57a2bde519da0dc6de2cad9d036da225c
Diffstat (limited to 'core/java/android/content/ContentResolver.java')
-rw-r--r--core/java/android/content/ContentResolver.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/content/ContentResolver.java b/core/java/android/content/ContentResolver.java
index 3fc933d..8694416 100644
--- a/core/java/android/content/ContentResolver.java
+++ b/core/java/android/content/ContentResolver.java
@@ -192,6 +192,14 @@ public abstract class ContentResolver {
*/
public static final String CURSOR_DIR_BASE_TYPE = "vnd.android.cursor.dir";
+ /**
+ * This is the Android platform's generic MIME type to match any MIME
+ * type of the form "{@link #CURSOR_ITEM_BASE_TYPE}/{@code SUB_TYPE}".
+ * {@code SUB_TYPE} is the sub-type of the application-dependent
+ * content, e.g., "audio", "video", "playlist".
+ */
+ public static final String ANY_CURSOR_ITEM_TYPE = "vnd.android.cursor.item/*";
+
/** @hide */
public static final int SYNC_ERROR_SYNC_ALREADY_IN_PROGRESS = 1;
/** @hide */