Skip to content

Commit

Permalink
Fix wrong filename in DB after picking image
Browse files Browse the repository at this point in the history
  • Loading branch information
Binnette committed Dec 4, 2024
1 parent 50f48de commit 3c90574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/net/osmtracker/activity/TrackLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
Intent intent = new Intent(OSMTracker.INTENT_TRACK_WP);
intent.putExtra(TrackContentProvider.Schema.COL_TRACK_ID, currentTrackId);
intent.putExtra(OSMTracker.INTENT_KEY_NAME, getResources().getString(R.string.wpt_stillimage));
intent.putExtra(OSMTracker.INTENT_KEY_LINK, imageFile.getName());
intent.putExtra(OSMTracker.INTENT_KEY_LINK, destFile.getName());
intent.setPackage(this.getPackageName());
sendBroadcast(intent);
} else {
Expand Down

0 comments on commit 3c90574

Please sign in to comment.