Fixed a crash when tracking was resumed from quick settings tile

This commit is contained in:
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

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)
}