From b2016cc48421506326a2a894861afba5b71ede58 Mon Sep 17 00:00:00 2001 From: tonihei Date: Fri, 22 Sep 2023 02:08:28 -0700 Subject: [PATCH] Adjust externally loaded image URI MIME type definition Adjust the Javadoc to highlight that data of this MIME type just contains a URI, not the actual image content. And also remove the superfluous "key" part of the MIME type string that doesn't really add information (and it's also really just an URI, not an URI key). PiperOrigin-RevId: 567560238 --- .../src/main/java/androidx/media3/common/MimeTypes.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/common/src/main/java/androidx/media3/common/MimeTypes.java b/libraries/common/src/main/java/androidx/media3/common/MimeTypes.java index f07ef43788..20218f170f 100644 --- a/libraries/common/src/main/java/androidx/media3/common/MimeTypes.java +++ b/libraries/common/src/main/java/androidx/media3/common/MimeTypes.java @@ -151,10 +151,10 @@ public final class MimeTypes { @UnstableApi public static final String APPLICATION_MEDIA3_CUES = BASE_TYPE_APPLICATION + "/x-media3-cues"; - /** MIME type for image content loaded from an external image management framework. */ + /** MIME type for an image URI loaded from an external image management framework. */ @UnstableApi public static final String APPLICATION_EXTERNALLY_LOADED_IMAGE = - BASE_TYPE_APPLICATION + "/x-image-uri-key"; + BASE_TYPE_APPLICATION + "/x-image-uri"; // image/ MIME types