Skip to content

Commit

Permalink
geonav changes for v5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
chaneylc committed Aug 7, 2023
1 parent efa779d commit 80e4019
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@
import com.fieldbook.tracker.dialogs.GeoNavCollectDialog;
import com.fieldbook.tracker.interfaces.FieldSwitcher;
import com.fieldbook.tracker.objects.FieldObject;
import com.fieldbook.tracker.objects.GeoNavHelper;
import com.fieldbook.tracker.objects.GoProWrapper;
import com.fieldbook.tracker.objects.InfoBarModel;
import com.fieldbook.tracker.objects.InfoBarModel;
import com.fieldbook.tracker.objects.RangeObject;
import com.fieldbook.tracker.objects.TraitObject;
Expand All @@ -71,7 +68,6 @@
import com.fieldbook.tracker.utilities.SoundHelperImpl;
import com.fieldbook.tracker.utilities.TapTargetUtil;
import com.fieldbook.tracker.utilities.Utils;
import com.fieldbook.tracker.utilities.VibrateUtil;
import com.fieldbook.tracker.utilities.VerifyPersonHelper;
import com.fieldbook.tracker.utilities.VibrateUtil;
import com.fieldbook.tracker.views.CollectInputView;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
import com.fieldbook.tracker.location.GPSTracker;
import com.fieldbook.tracker.objects.FieldFileObject;
import com.fieldbook.tracker.objects.FieldObject;
import com.fieldbook.tracker.objects.GeoNavHelper;
import com.fieldbook.tracker.preferences.GeneralKeys;
import com.fieldbook.tracker.utilities.DocumentTreeUtil;
import com.fieldbook.tracker.utilities.FieldSwitchImpl;
Expand Down Expand Up @@ -106,8 +105,6 @@ public class FieldEditorActivity extends ThemedActivity

private GPSTracker mGpsTracker;

private GeoNavHelper geoNavHelper;

@Inject
DataHelper database;

Expand Down Expand Up @@ -181,8 +178,6 @@ public void onCreate(Bundle savedInstanceState) {
fieldList = findViewById(R.id.myList);
mAdapter = new FieldAdapter(thisActivity, database.getAllFieldObjects(), fieldSwitcher);
fieldList.setAdapter(mAdapter);

geoNavHelper = new GeoNavHelper(this);
}

private void showFileDialog() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class GeoNavHelper @Inject constructor(private val controller: CollectController
lastPlotIdNav = null
currentFixQuality = false
if (audioOnDrop) {
(controller.getContext() as? CollectActivity)?.showGeoNavPrecisionLossDialog()
(controller.getContext() as? CollectActivity)?.showLocationPrecisionLossDialog()
controller.getSoundHelper().playError()
controller.getVibrator().vibrate(1000L)
}
Expand Down

0 comments on commit 80e4019

Please sign in to comment.