Loading media/java/android/media/ExifInterface.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -1330,8 +1330,9 @@ public class ExifInterface { for (int i = 0; i < EXIF_TAGS.length; ++i) { for (int i = 0; i < EXIF_TAGS.length; ++i) { mAttributes[i] = new HashMap(); mAttributes[i] = new HashMap(); } } InputStream in = null; try { try { InputStream in = new FileInputStream(mFilename); in = new FileInputStream(mFilename); getJpegAttributes(in); getJpegAttributes(in); mIsSupportedFile = true; mIsSupportedFile = true; } catch (IOException e) { } catch (IOException e) { Loading @@ -1344,6 +1345,7 @@ public class ExifInterface { if (DEBUG) { if (DEBUG) { printAttributes(); printAttributes(); } } IoUtils.closeQuietly(in); } } } } Loading Loading
media/java/android/media/ExifInterface.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -1330,8 +1330,9 @@ public class ExifInterface { for (int i = 0; i < EXIF_TAGS.length; ++i) { for (int i = 0; i < EXIF_TAGS.length; ++i) { mAttributes[i] = new HashMap(); mAttributes[i] = new HashMap(); } } InputStream in = null; try { try { InputStream in = new FileInputStream(mFilename); in = new FileInputStream(mFilename); getJpegAttributes(in); getJpegAttributes(in); mIsSupportedFile = true; mIsSupportedFile = true; } catch (IOException e) { } catch (IOException e) { Loading @@ -1344,6 +1345,7 @@ public class ExifInterface { if (DEBUG) { if (DEBUG) { printAttributes(); printAttributes(); } } IoUtils.closeQuietly(in); } } } } Loading