Merge pull request #9140 from osmandapp/fix_8791
don`t ask location if not using current position
This commit is contained in:
commit
5afe3a90ad
2 changed files with 0 additions and 2 deletions
|
@ -448,7 +448,6 @@ public class AddPointBottomSheetDialog extends MenuBottomSheetDialogFragment {
|
|||
break;
|
||||
case TARGET:
|
||||
targetPointsHelper.navigateToPoint(ll, true, -1, name);
|
||||
OsmAndLocationProvider.requestFineLocationPermissionIfNeeded(mapActivity);
|
||||
break;
|
||||
case INTERMEDIATE:
|
||||
targetPointsHelper.navigateToPoint(ll, true, targetPointsHelper.getIntermediatePoints().size(), name);
|
||||
|
|
|
@ -294,7 +294,6 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener
|
|||
break;
|
||||
case TARGET:
|
||||
targetPointsHelper.navigateToPoint(latLon, true, -1, pd);
|
||||
OsmAndLocationProvider.requestFineLocationPermissionIfNeeded(mapActivity);
|
||||
break;
|
||||
case INTERMEDIATE:
|
||||
targetPointsHelper.navigateToPoint(latLon, true, targetPointsHelper.getIntermediatePoints().size(), pd);
|
||||
|
|
Loading…
Reference in a new issue