diff options
| -rw-r--r-- | core/api/current.txt | 1 | ||||
| -rw-r--r-- | core/java/android/content/pm/PackageManager.java | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/core/api/current.txt b/core/api/current.txt index 83453b27f9b3..3efb78943bd7 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -12472,6 +12472,7 @@ package android.content.pm { field public static final long MAXIMUM_VERIFICATION_TIMEOUT = 3600000L; // 0x36ee80L field public static final int PERMISSION_DENIED = -1; // 0xffffffff field public static final int PERMISSION_GRANTED = 0; // 0x0 + field public static final String PROPERTY_MEDIA_CAPABILITIES = "android.media.PROPERTY_MEDIA_CAPABILITIES"; field public static final int SIGNATURE_FIRST_NOT_SIGNED = -1; // 0xffffffff field public static final int SIGNATURE_MATCH = 0; // 0x0 field public static final int SIGNATURE_NEITHER_SIGNED = 1; // 0x1 diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java index 9085ed2be8b1..72fb1cae3871 100644 --- a/core/java/android/content/pm/PackageManager.java +++ b/core/java/android/content/pm/PackageManager.java @@ -125,6 +125,19 @@ public abstract class PackageManager { } /** + * <application> level {@link android.content.pm.PackageManager.Property} tag specifying + * the XML resource ID containing an application's media capabilities XML file + * + * For example: + * <application> + * <property android:name="android.media.PROPERTY_MEDIA_CAPABILITIES" + * android:resource="@xml/media_capabilities"> + * <application> + */ + public static final String PROPERTY_MEDIA_CAPABILITIES = + "android.media.PROPERTY_MEDIA_CAPABILITIES"; + + /** * A property value set within the manifest. * <p> * The value of a property will only have a single type, as defined by |