Fixed a crash when tracking was resumed from quick settings tile
This commit is contained in:
parent
a48cd2d009
commit
e44f404685
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue