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

Commit 815d6872 authored by Sungsoo's avatar Sungsoo Committed by android-build-merger
Browse files

ExifInterfaceTest: Catch IOException am: c9ed3b8a am: a4ec9714

am: b6f40a84

Change-Id: Ia9dbb060111c198774843f753977879f362bf904
parents a8f55f35 b6f40a84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;