Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acbdd289 authored by Jin Seok Park's avatar Jin Seok Park Committed by Android (Google) Code Review
Browse files

Merge "Improve doc for saveAttributes"

parents 6fdcfe2b 5f3129e4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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 {
     * <p>
     * For WebP format, the Exif data will be stored as an Extended File Format, and it may not be
     * supported for older readers.
     * </p>
     * <p>
     * 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()) {