示例#1
0
 public void stopRecording() {
   settings.SAVE_GLOBAL_TRACK_TO_GPX.set(false);
   if (app.getNavigationService() != null) {
     app.getNavigationService().stopIfNeeded(app, NavigationService.USED_BY_GPX);
     app.getNotificationHelper().showNotification();
   }
 }
 @Override
 public void disable(OsmandApplication app) {
   super.disable(app);
   app.getNotificationHelper().refreshNotifications();
 }