DO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f
am: 29e643bcbd
Change-Id: I413ba35abfc8999c405df78a40b8182f19472b6a
This commit is contained in:
@@ -1367,8 +1367,7 @@ public class ExifInterface {
|
|||||||
*/
|
*/
|
||||||
public void saveAttributes() throws IOException {
|
public void saveAttributes() throws IOException {
|
||||||
if (!mIsSupportedFile) {
|
if (!mIsSupportedFile) {
|
||||||
throw new UnsupportedOperationException(
|
throw new IOException("ExifInterface only supports saving attributes on JPEG formats.");
|
||||||
"ExifInterface only supports saving attributes on JPEG formats.");
|
|
||||||
}
|
}
|
||||||
// Keep the thumbnail in memory
|
// Keep the thumbnail in memory
|
||||||
mThumbnailBytes = getThumbnail();
|
mThumbnailBytes = getThumbnail();
|
||||||
|
|||||||
Reference in New Issue
Block a user