Fix merge
This commit is contained in:
parent
25ad8f6f15
commit
872d7b5adf
2 changed files with 3 additions and 11 deletions
|
@ -1033,13 +1033,6 @@ public class MeasurementToolFragment extends BaseOsmAndFragment implements Route
|
|||
}
|
||||
}
|
||||
|
||||
private void hideSnapToRoadIcon() {
|
||||
MapActivity mapActivity = getMapActivity();
|
||||
if (mapActivity != null) {
|
||||
mapActivity.findViewById(R.id.snap_to_road_image_button).setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
private void displayRoutePoints() {
|
||||
MeasurementToolLayer measurementLayer = getMeasurementLayer();
|
||||
GPXFile gpx = editingCtx.getNewGpxData().getGpxFile();
|
||||
|
@ -1762,10 +1755,6 @@ public class MeasurementToolFragment extends BaseOsmAndFragment implements Route
|
|||
hidePointsList();
|
||||
}
|
||||
resetAppMode();
|
||||
if (editingCtx.isInSnapToRoadMode()) {
|
||||
resetSnapToRoadMode();
|
||||
}
|
||||
hideSnapToRoadIcon();
|
||||
if (!editingCtx.isNewData() && !planRouteMode) {
|
||||
GPXFile gpx = editingCtx.getNewGpxData().getGpxFile();
|
||||
Intent newIntent = new Intent(mapActivity, mapActivity.getMyApplication().getAppCustomization().getTrackActivity());
|
||||
|
|
|
@ -3,8 +3,11 @@ package net.osmand.plus.measurementtool;
|
|||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ImageView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
|
||||
|
|
Loading…
Reference in a new issue