summaryrefslogtreecommitdiff
path: root/fakelocation/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'fakelocation/src/main/java')
-rw-r--r--fakelocation/src/main/java/foundation/e/advancedprivacy/fakelocation/services/FakeLocationService.kt4
1 files changed, 2 insertions, 2 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 5336b24..efccb28 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
@@ -78,8 +78,8 @@ class FakeLocationService : Service() {
when (it.action?.let { str -> Actions.valueOf(str) }) {
Actions.START_FAKE_LOCATION -> {
altitude = it.getDoubleExtra(PARAM_ALTITUDE, 3.0)
- speed = it.getFloatExtra(PARAM_ALTITUDE, 1.0f)
- jitter = it.getFloatExtra(PARAM_ALTITUDE, 3.0f)
+ speed = it.getFloatExtra(PARAM_SPEED, 1.0f)
+ jitter = it.getFloatExtra(PARAM_JITTER, 3.0f)
fakeLocation = Pair(
it.getDoubleExtra(PARAM_LATITUDE, 0.0),
it.getDoubleExtra(PARAM_LONGITUDE, 0.0)