mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Add comments
This commit is contained in:
parent
9e086df48b
commit
2b9488d5ff
2 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue