DO NOT MERGE) ExifInterface: Provide backward compatibility
am: c11f599a2f
Change-Id: If503e3361e69ad88a166f145603273d728d65652
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user