Fix parking menu
This commit is contained in:
parent
c386e5e52f
commit
61240d5e7d
2 changed files with 2 additions and 1 deletions
|
@ -222,7 +222,7 @@ public class MapContextMenu {
|
|||
menuController = new HistoryMenuController(app, mapActivity, (HistoryEntry) object);
|
||||
} else if (object instanceof LatLon) {
|
||||
if (pointDescription.isParking()) {
|
||||
menuController = new ParkingPositionController(app, mapActivity, pointDescription, latLon);
|
||||
menuController = new ParkingPositionController(app, mapActivity, pointDescription, (LatLon) object);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -101,5 +101,6 @@ public class ParkingPositionController extends MenuController {
|
|||
|
||||
@Override
|
||||
public void saveEntityState(Bundle bundle, String key) {
|
||||
bundle.putSerializable(key, latLon);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue