forked from upstream-mirrors/OpenTracks
Cleanup: Marker stores URI to photo (instead of String).
This commit is contained in:
@@ -109,6 +109,10 @@ public class FileUtils {
|
||||
return getExtension(file.getName());
|
||||
}
|
||||
|
||||
public static String getExtension(Uri uri) {
|
||||
return getExtension(uri.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds a filename with the given base and the given extension, possibly adding a suffix to ensure the file doesn't exist.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user