Commit fe0d2ef
committed
Attempt to really really stop the service when logging stops, using stopSelf().
Apparently using stopForeground isn't enough. That just removes the foreground state.
To stop the service, it's stopSelf() that needs to be used.
https://developer.android.com/reference/android/app/Service#stopForeground(int)
Issue #9331 parent e952181 commit fe0d2ef
File tree
2 files changed
+2
-1
lines changed- gpslogger
- src/main/java/com/mendhak/gpslogger
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| 460 | + | |
460 | 461 | | |
461 | 462 | | |
462 | 463 | | |
| |||
0 commit comments