forked from upstream-mirrors/OpenTracks
Orientation change when edit marker has to update photo uri in waypoint for delete button update (hide/show).
This commit is contained in:
@@ -151,6 +151,7 @@ public class MarkerEditActivity extends AbstractActivity {
|
||||
|
||||
if (savedInstanceState != null) {
|
||||
photoUri = savedInstanceState.getParcelable(BUNDLE_PHOTO_URI);
|
||||
waypoint.setPhotoUrl(photoUri != null ? photoUri.toString() : null);
|
||||
}
|
||||
if (photoUri != null) {
|
||||
setWaypointImageView(photoUri);
|
||||
|
||||
Reference in New Issue
Block a user