diff --git a/gpslogger/build.gradle b/gpslogger/build.gradle index f24fd62c4..4ab32ea1c 100644 --- a/gpslogger/build.gradle +++ b/gpslogger/build.gradle @@ -45,7 +45,7 @@ android { targetSdkVersion 30 versionCode 122 - versionName "122-rc1" + versionName "122-rc2" } buildTypes { diff --git a/gpslogger/src/main/java/com/mendhak/gpslogger/GpsLoggingService.java b/gpslogger/src/main/java/com/mendhak/gpslogger/GpsLoggingService.java index dcfe4d486..920875cbf 100644 --- a/gpslogger/src/main/java/com/mendhak/gpslogger/GpsLoggingService.java +++ b/gpslogger/src/main/java/com/mendhak/gpslogger/GpsLoggingService.java @@ -457,6 +457,7 @@ public void stopLogging() { session.setCurrentLocationInfo(null); session.setSinglePointMode(false); stopForeground(true); + stopSelf(); removeNotification(); stopAlarm();