Fixed a crash when tracking was resumed from quick settings tile

master
y20k 2020-01-30 20:31:58 +01:00
parent a48cd2d009
commit e44f404685
No known key found for this signature in database
GPG Key ID: 824D4259F41FAFF6
1 changed files with 1 additions and 2 deletions

View File

@ -74,7 +74,7 @@ class TrackingToggleTileService(): TileService() {
else -> {
// start service via intent so that it keeps running after unbind
startTrackerService()
trackerService.startTracking(newTrack = false)
trackerService.startTracking()
}
}
}
@ -103,7 +103,6 @@ class TrackingToggleTileService(): TileService() {
/* Overrides onDestroy from Service */
override fun onDestroy() {
super.onDestroy()
if (bound) unbindService(connection)
}