From cb28d70fb5d220953dec337885601597c654e4fd Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Thu, 4 Jan 2024 00:09:06 +0100 Subject: FakeLocation: Correct propagation of states --- .../e/advancedprivacy/fakelocation/services/FakeLocationService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fakelocation/src') 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 { -- cgit v1.2.1