mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Check for IllegalArgumentException
This commit is contained in:
parent
ce207edc72
commit
27d95276ca
1 changed files with 3 additions and 0 deletions
|
|
@ -86,6 +86,9 @@ public class GPSExtractor {
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
Log.w("Image", e);
|
Log.w("Image", e);
|
||||||
return null;
|
return null;
|
||||||
|
} catch (IllegalArgumentException e) {
|
||||||
|
Log.w("Image", e);
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (exif.getAttribute(ExifInterface.TAG_GPS_LATITUDE) == null && useGPS) {
|
if (exif.getAttribute(ExifInterface.TAG_GPS_LATITUDE) == null && useGPS) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue