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

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

DO NOT MERGE) ExifInterface: Provide backward compatibility

am: 7ce92430

Change-Id: I3d46cccc578160d7da5ff81e0caa09a52a17e9eb
parents 09edfde0 7ce92430
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1372,8 +1372,7 @@ public class ExifInterface {
     */
    public void saveAttributes() throws IOException {
        if (!mIsSupportedFile) {
            throw new UnsupportedOperationException(
                    "ExifInterface only supports saving attributes on JPEG formats.");
            throw new IOException("ExifInterface only supports saving attributes on JPEG formats.");
        }
        // Keep the thumbnail in memory
        mThumbnailBytes = getThumbnail();