Close context menu after adding waypoint/route point

This commit is contained in:
PavelRatushny 2017-08-11 13:51:54 +03:00
parent 5796d5f2e0
commit a78dcee686

View file

@ -129,6 +129,7 @@ public class AddGpxPointBottomSheetHelper implements OnDismissListener {
@Override
public void onDismiss() {
mapActivity.getContextMenu().close();
Intent newIntent = new Intent(mapActivity, mapActivity.getMyApplication().getAppCustomization().getTrackActivity());
newIntent.putExtra(TrackActivity.TRACK_FILE_NAME, newGpxPoint.getGpx().path);
newIntent.putExtra(TrackActivity.OPEN_POINTS_TAB, true);