Add comments

This commit is contained in:
misaochan 2016-09-17 17:59:42 +12:00
parent 9e086df48b
commit 2b9488d5ff
2 changed files with 5 additions and 0 deletions

View file

@ -82,6 +82,7 @@ public class GPSExtractor {
/**
* Extracts geolocation (either of image from EXIF data, or of user)
* @param useGPS set to true if location permissions allowed (by API 23), false if disallowed
* @return coordinates as string (needs to be passed as a String in API query)
*/
@Nullable

View file

@ -353,6 +353,10 @@ public class ShareActivity
}
}
/**
* Gets coordinates for category suggestions, either from EXIF data or user location
* @param gpsEnabled
*/
public void getFileMetadata(boolean gpsEnabled) {
filePath = FileUtils.getPath(this, mediaUri);
Log.d(TAG, "Filepath: " + filePath);