Update OsmandMonitoringPlugin.java

This commit is contained in:
vshcherb 2020-05-19 17:53:26 +02:00 committed by GitHub
parent 42f772ae7b
commit 515198443d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -392,8 +392,6 @@ public class OsmandMonitoringPlugin extends OsmandPlugin {
}
public void saveCurrentTrack(@Nullable final Runnable onComplete, @Nullable Activity activity) {
// #8911: Include stopRecording in saveCurrentTrack
stopRecording();
final WeakReference<Activity> activityRef = activity != null ? new WeakReference<>(activity) : null;