mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 09:33:06 +02:00
URIs for waypoint's photos are correct. Fixes #183.
This commit is contained in:
+1
-1
@@ -391,7 +391,7 @@ abstract class AbstractFileTrackImporter extends DefaultHandler implements Track
|
||||
}
|
||||
|
||||
File dir = FileUtils.getPhotoDir(context, importTrackId);
|
||||
File file = new File(dir, externalPhotoUrl);
|
||||
File file = new File(dir, filename);
|
||||
|
||||
Uri photoUri = FileUtils.getUriForFile(context, file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user