summaryrefslogtreecommitdiff
path: root/fakelocation
diff options
context:
space:
mode:
Diffstat (limited to 'fakelocation')
-rw-r--r--fakelocation/src/main/java/foundation/e/advancedprivacy/fakelocation/services/FakeLocationService.kt1
1 files changed, 0 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 efccb28..9a192c6 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
@@ -107,7 +107,6 @@ class FakeLocationService : Service() {
var jitter_buf: Float = jitter ?: return
var fakeLocation_buf: Pair<Double, Double> = fakeLocation ?: return
if(fakeLocation != null && altitude != null && speed != null && jitter != null) {
- // buffer
try {
fakeLocationModule.setTestProviderLocation(
altitude_buf + ((Random.nextFloat() * jitter_buf) - (jitter_buf * 0.5f)),