Expose XMP offset/size constants as public
These constants need to be public in order for AndroidX ExifInterface to be able to access it. Bug: 159373092 Test: update-api Change-Id: Ibfe4bb95287e8f6d432e17e1b96cbb7a3237c540
This commit is contained in:
@@ -21894,6 +21894,8 @@ package android.media {
|
||||
field public static final int METADATA_KEY_VIDEO_ROTATION = 24; // 0x18
|
||||
field public static final int METADATA_KEY_VIDEO_WIDTH = 18; // 0x12
|
||||
field public static final int METADATA_KEY_WRITER = 11; // 0xb
|
||||
field public static final int METADATA_KEY_XMP_LENGTH = 42; // 0x2a
|
||||
field public static final int METADATA_KEY_XMP_OFFSET = 41; // 0x29
|
||||
field public static final int METADATA_KEY_YEAR = 8; // 0x8
|
||||
field public static final int OPTION_CLOSEST = 3; // 0x3
|
||||
field public static final int OPTION_CLOSEST_SYNC = 2; // 0x2
|
||||
|
||||
@@ -80,8 +80,6 @@ package android.media {
|
||||
|
||||
public class MediaMetadataRetriever implements java.lang.AutoCloseable {
|
||||
field public static final int METADATA_KEY_VIDEO_CODEC_MIME_TYPE = 40; // 0x28
|
||||
field public static final int METADATA_KEY_XMP_LENGTH = 42; // 0x2a
|
||||
field public static final int METADATA_KEY_XMP_OFFSET = 41; // 0x29
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1374,17 +1374,13 @@ public class MediaMetadataRetriever implements AutoCloseable {
|
||||
/**
|
||||
* If the media contains XMP data, this key retrieves the offset (in bytes)
|
||||
* of the data.
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi(client = MODULE_LIBRARIES)
|
||||
public static final int METADATA_KEY_XMP_OFFSET = 41;
|
||||
|
||||
/**
|
||||
* If the media contains XMP data, this key retrieves the length (in bytes)
|
||||
* of the data.
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi(client = MODULE_LIBRARIES)
|
||||
public static final int METADATA_KEY_XMP_LENGTH = 42;
|
||||
|
||||
// Add more here...
|
||||
|
||||
Reference in New Issue
Block a user