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) {
|
if (savedInstanceState != null) {
|
||||||
photoUri = savedInstanceState.getParcelable(BUNDLE_PHOTO_URI);
|
photoUri = savedInstanceState.getParcelable(BUNDLE_PHOTO_URI);
|
||||||
|
waypoint.setPhotoUrl(photoUri != null ? photoUri.toString() : null);
|
||||||
}
|
}
|
||||||
if (photoUri != null) {
|
if (photoUri != null) {
|
||||||
setWaypointImageView(photoUri);
|
setWaypointImageView(photoUri);
|
||||||
|
|||||||
Reference in New Issue
Block a user