Update comments

This commit is contained in:
sonora 2016-01-13 13:49:00 +01:00
parent 3648b28a72
commit f3c385a707
3 changed files with 6 additions and 6 deletions

View file

@ -227,7 +227,7 @@ public class TargetPointsHelper {
}
public void updateRouteAndReferesh(boolean updateRoute) {
//Issue 2136
//Fix for Issue 2136(b-d) (i.e. after Destination has been deleted)
if (pointToNavigate == null) {
mapActivity.getMapActions().stopNavigationWithoutConfirm();
}

View file

@ -1185,10 +1185,10 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, DynamicLis
newRouteIsCalculated(false, new ValueHolder<Boolean>());
getMyApplication().getTargetPointsHelper().updateRouteAndReferesh(true);
//Issue 2136(b)
if (mapActivity.getMyApplication().getTargetPointsHelper().getPointToNavigate() == null) {
mapActivity.getMapActions().stopNavigationWithoutConfirm();
}
//Fix for Issue 2136(b), but see more global fix in TargetPointsHelper
//if (mapActivity.getMyApplication().getTargetPointsHelper().getPointToNavigate() == null) {
// mapActivity.getMapActions().stopNavigationWithoutConfirm();
//}
if (swipeDismissListener != null) {
swipeDismissListener.setEnabled(true);

View file

@ -611,7 +611,7 @@ public class MapRouteInfoMenu implements IRouteInformationListener {
if (switched) {
mapControlsLayer.switchToRouteFollowingLayout();
}
//Issue 2136(a)
//Fix for Issue 2136(a)
if (getTargets().getPointToNavigate() == null) {
mapActivity.getMapActions().stopNavigationWithoutConfirm();
}