summaryrefslogtreecommitdiff
path: root/fakelocation/src/main/java/foundation
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2024-01-04 00:09:06 +0100
committerLeonard Kugis <leonard@kug.is>2024-01-04 00:09:06 +0100
commitcb28d70fb5d220953dec337885601597c654e4fd (patch)
treec3a5bb2e6bc1e6015581be896b1685818f7a09fd /fakelocation/src/main/java/foundation
parent37568f2fb2da190c840d264c88cbc8ae42e083b1 (diff)
FakeLocation: Correct propagation of states
Diffstat (limited to 'fakelocation/src/main/java/foundation')
-rw-r--r--fakelocation/src/main/java/foundation/e/advancedprivacy/fakelocation/services/FakeLocationService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/fakelocation/src/main/java/foundation/e/advancedprivacy/fakelocation/services/FakeLocationService.kt b/fakelocation/src/main/java/foundation/e/advancedprivacy/fakelocation/services/FakeLocationService.kt
index d13e263..f9a3c52 100644
--- a/fakelocation/src/main/java/foundation/e/advancedprivacy/fakelocation/services/FakeLocationService.kt
+++ b/fakelocation/src/main/java/foundation/e/advancedprivacy/fakelocation/services/FakeLocationService.kt
@@ -207,7 +207,7 @@ class FakeLocationService : Service() {
override fun onTick(millisUntilFinished: Long) {
var coord = calculateRouteSegment()
if(coord == null) {
- // done with route
+ fakeLocationModule.routeStop()
return
}
try {