diff options
author | Leonard Kugis <leonard@kug.is> | 2024-01-04 00:09:06 +0100 |
---|---|---|
committer | Leonard Kugis <leonard@kug.is> | 2024-01-04 00:09:06 +0100 |
commit | cb28d70fb5d220953dec337885601597c654e4fd (patch) | |
tree | c3a5bb2e6bc1e6015581be896b1685818f7a09fd /fakelocation/src/main | |
parent | 37568f2fb2da190c840d264c88cbc8ae42e083b1 (diff) |
FakeLocation: Correct propagation of states
Diffstat (limited to 'fakelocation/src/main')
-rw-r--r-- | fakelocation/src/main/java/foundation/e/advancedprivacy/fakelocation/services/FakeLocationService.kt | 2 |
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 { |