Check for IllegalArgumentException

This commit is contained in:
misaochan 2016-07-04 01:18:20 +12:00
parent ce207edc72
commit 27d95276ca

View file

@ -86,6 +86,9 @@ public class GPSExtractor {
} catch (IOException e) {
Log.w("Image", e);
return null;
} catch (IllegalArgumentException e) {
Log.w("Image", e);
return null;
}
if (exif.getAttribute(ExifInterface.TAG_GPS_LATITUDE) == null && useGPS) {