don`t ask location if not using current position
This commit is contained in:
parent
c49a7fb069
commit
7a20e37375
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);
|
||||
|
|
|
@ -296,7 +296,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