diff --git a/media/java/android/media/ExifInterface.java b/media/java/android/media/ExifInterface.java index 115fb741a543e..5891a18c11861 100644 --- a/media/java/android/media/ExifInterface.java +++ b/media/java/android/media/ExifInterface.java @@ -577,7 +577,7 @@ public class ExifInterface { // 3.1. PNG file signature private static final byte[] PNG_SIGNATURE = new byte[] {(byte) 0x89, (byte) 0x50, (byte) 0x4e, (byte) 0x47, (byte) 0x0d, (byte) 0x0a, (byte) 0x1a, (byte) 0x0a}; - // See PNG (Portable Network Graphics) Specification, Version 1.2, + // See "Extensions to the PNG 1.2 Specification, Version 1.5.0", // 3.7. eXIf Exchangeable Image File (Exif) Profile private static final byte[] PNG_CHUNK_TYPE_EXIF = new byte[]{(byte) 0x65, (byte) 0x58, (byte) 0x49, (byte) 0x66}; @@ -2085,7 +2085,9 @@ public class ExifInterface { *

* For WebP format, the Exif data will be stored as an Extended File Format, and it may not be * supported for older readers. - *

+ *

+ * For PNG format, the Exif data will be stored as an "eXIf" chunk as per + * "Extensions to the PNG 1.2 Specification, Version 1.5.0". */ public void saveAttributes() throws IOException { if (!isSupportedFormatForSavingAttributes()) {