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

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

DO NOT MERGE) ExifInterface: Provide backward compatibility

am: 87a9ac70

Change-Id: I6639c6763ee1f7d83d03cc6d5fa11cbf1516e7cc
parents 462493ee 87a9ac70
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1367,8 +1367,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();