diff --git a/commons/src/main/java/fr/free/nrw/commons/upload/GPSExtractor.java b/commons/src/main/java/fr/free/nrw/commons/upload/GPSExtractor.java index 16da36b6f..2dcc076df 100644 --- a/commons/src/main/java/fr/free/nrw/commons/upload/GPSExtractor.java +++ b/commons/src/main/java/fr/free/nrw/commons/upload/GPSExtractor.java @@ -1,7 +1,6 @@ package fr.free.nrw.commons.upload; import android.content.Context; -import android.content.Intent; import android.content.SharedPreferences; import android.location.Criteria; import android.location.Location; @@ -10,15 +9,9 @@ import android.location.LocationManager; import android.media.ExifInterface; import android.os.Bundle; import android.preference.PreferenceManager; -import android.provider.Settings; import android.util.Log; -import android.widget.Toast; - import java.io.IOException; -import fr.free.nrw.commons.SettingsActivity; - - public class GPSExtractor { private String filePath; @@ -88,7 +81,6 @@ public class GPSExtractor { //Otherwise treat as if no coords found return null; } - } else { imageCoordsExists = true; Log.d(TAG, "Picture has GPS info"); @@ -105,7 +97,6 @@ public class GPSExtractor { } } - private class MyLocationListener implements LocationListener { @Override