Update comments
This commit is contained in:
parent
3648b28a72
commit
f3c385a707
3 changed files with 6 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue