DO NOT MERGE) ExifInterface: Provide backward compatibility am: 7ce9243087
am: bb800841ca
Change-Id: I93674ad50daa5c3b7411a87112ad33ce199e71ce
This commit is contained in:
@@ -1372,8 +1372,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