Loading media/java/android/media/ExifInterface.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -1325,12 +1325,12 @@ public class ExifInterface { * determine whether the image data format is JPEG or not. * determine whether the image data format is JPEG or not. */ */ private void loadAttributes() throws IOException { private void loadAttributes() throws IOException { try { InputStream in = new FileInputStream(mFilename); // Initialize mAttributes. // Initialize mAttributes. 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(); } } try { InputStream in = new FileInputStream(mFilename); getJpegAttributes(in); getJpegAttributes(in); } catch (IOException e) { } catch (IOException e) { // Ignore exceptions in order to keep the compatibility with the old versions of // Ignore exceptions in order to keep the compatibility with the old versions of Loading Loading
media/java/android/media/ExifInterface.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -1325,12 +1325,12 @@ public class ExifInterface { * determine whether the image data format is JPEG or not. * determine whether the image data format is JPEG or not. */ */ private void loadAttributes() throws IOException { private void loadAttributes() throws IOException { try { InputStream in = new FileInputStream(mFilename); // Initialize mAttributes. // Initialize mAttributes. 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(); } } try { InputStream in = new FileInputStream(mFilename); getJpegAttributes(in); getJpegAttributes(in); } catch (IOException e) { } catch (IOException e) { // Ignore exceptions in order to keep the compatibility with the old versions of // Ignore exceptions in order to keep the compatibility with the old versions of Loading