Merge "Change caught exception in MediaScanner when ExifInterface is created"

This commit is contained in:
Treehugger Robot
2018-10-23 17:36:33 +00:00
committed by Gerrit Code Review

View File

@@ -989,7 +989,7 @@ public class MediaScanner implements AutoCloseable {
ExifInterface exif = null;
try {
exif = new ExifInterface(entry.mPath);
} catch (IOException ex) {
} catch (Exception ex) {
// exif is null
}
if (exif != null) {