Cleanup: Marker stores URI to photo (instead of String).

This commit is contained in:
Dennis Guse
2025-02-21 22:50:24 +01:00
parent b9ed5e28e0
commit 1b33184835
17 changed files with 45 additions and 78 deletions
@@ -93,14 +93,14 @@ public class ShareUtils {
Log.e(TAG, "MarkerId " + markerId.id() + " could not be resolved.");
continue;
}
if (marker.getPhotoURI() == null) {
if (marker.getPhotoUrl() == null) {
Log.e(TAG, "MarkerId " + markerId.id() + " has no picture.");
continue;
}
mime = context.getContentResolver().getType(marker.getPhotoURI());
mime = context.getContentResolver().getType(marker.getPhotoUrl());
uris.add(marker.getPhotoURI());
uris.add(marker.getPhotoUrl());
}
if (uris.isEmpty()) {