Fix parking menu

This commit is contained in:
Alexey Kulish 2015-10-23 15:38:38 +03:00
parent c386e5e52f
commit 61240d5e7d
2 changed files with 2 additions and 1 deletions

View file

@ -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 {

View file

@ -101,5 +101,6 @@ public class ParkingPositionController extends MenuController {
@Override
public void saveEntityState(Bundle bundle, String key) {
bundle.putSerializable(key, latLon);
}
}