Update GpxNotification.java

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

View file

@ -44,10 +44,6 @@ public class GpxNotification extends OsmandNotification {
final OsmandMonitoringPlugin plugin = OsmandPlugin.getEnabledPlugin(OsmandMonitoringPlugin.class);
if (plugin != null) {
plugin.saveCurrentTrack();
// #8911: Include stopRecording in saveCurrentTrack
//if (!app.getSettings().SAVE_GLOBAL_TRACK_TO_GPX.get()) {
// plugin.stopRecording();
//}
}
}
}, new IntentFilter(OSMAND_SAVE_GPX_SERVICE_ACTION));