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

Commit e71159c5 authored by Sungsoo Lim's avatar Sungsoo Lim Committed by android-build-merger
Browse files

DO NOT MERGE: Fix CTS regression am: 90be39c7 am: db9f5045

am: b04c4289

Change-Id: I5781e7822d050426288bbd42faafff31f098aa99
parents cb805b35 b04c4289
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1330,12 +1330,12 @@ public class ExifInterface {
     * determine whether the image data format is JPEG or not.
     */
    private void loadAttributes() throws IOException {
        try {
            InputStream in = new FileInputStream(mFilename);
        // Initialize mAttributes.
        for (int i = 0; i < EXIF_TAGS.length; ++i) {
            mAttributes[i] = new HashMap();
        }
        try {
            InputStream in = new FileInputStream(mFilename);
            getJpegAttributes(in);
        } catch (IOException e) {
            // Ignore exceptions in order to keep the compatibility with the old versions of