ExifInterfaceTest: Catch IOException
am: c9ed3b8a5b
Change-Id: I589c7be846a9043ab0a7bbfb5e7775e9e595c0fd
This commit is contained in:
@ -416,7 +416,7 @@ public class ExifInterfaceTest extends AndroidTestCase {
|
||||
in = getContext().getAssets().open(imageFile.getName());
|
||||
ExifInterface exifInterface = new ExifInterface(in);
|
||||
exifInterface.saveAttributes();
|
||||
} catch (UnsupportedOperationException e) {
|
||||
} catch (IOException e) {
|
||||
// Expected. saveAttributes is not supported with an ExifInterface object which was
|
||||
// created with InputStream.
|
||||
return;
|
||||
|
Reference in New Issue
Block a user