DO NOT MERGE: Fix CTS regression
am: df17644db7
Change-Id: Id9bed3c68661176a72bcb606e0fc0a026173ac22
This commit is contained in:
@@ -1325,12 +1325,12 @@ public class ExifInterface {
|
||||
* determine whether the image data format is JPEG or not.
|
||||
*/
|
||||
private void loadAttributes() throws IOException {
|
||||
// Initialize mAttributes.
|
||||
for (int i = 0; i < EXIF_TAGS.length; ++i) {
|
||||
mAttributes[i] = new HashMap();
|
||||
}
|
||||
try {
|
||||
InputStream in = new FileInputStream(mFilename);
|
||||
// Initialize mAttributes.
|
||||
for (int i = 0; i < EXIF_TAGS.length; ++i) {
|
||||
mAttributes[i] = new HashMap();
|
||||
}
|
||||
getJpegAttributes(in);
|
||||
} catch (IOException e) {
|
||||
// Ignore exceptions in order to keep the compatibility with the old versions of
|
||||
|
||||
Reference in New Issue
Block a user