LocationHandler.onStop(): reset state.

This commit is contained in:
Dennis Guse
2021-07-15 21:12:55 +02:00
parent 684419e86e
commit 3bd00c906a
@@ -43,6 +43,7 @@ class LocationHandler implements LocationListener, GpsStatus.GpsStatusListener {
}
public void onStop() {
lastTrackPoint = null;
if (locationManager != null) {
locationManager.removeUpdates(this);
locationManager = null;