MarkerEditActivity: fixed NPE on orientation change.
@@ -151,8 +151,10 @@ public class MarkerEditActivity extends AbstractActivity {
if (savedInstanceState != null) {
photoUri = savedInstanceState.getParcelable(BUNDLE_PHOTO_URI);
+ if (waypoint != null) {
waypoint.setPhotoUrl(photoUri != null ? photoUri.toString() : null);
}
+ }
if (photoUri != null) {
setWaypointImageView(photoUri);
}
