Merge "Add PROPERTY_MEDIA_CAPABILITIES API" into sc-dev

This commit is contained in:
Zimuzo Ezeozue
2021-02-02 16:05:51 +00:00
committed by Android (Google) Code Review
2 changed files with 14 additions and 0 deletions

View File

@@ -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

View File

@@ -124,6 +124,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>