summaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2024-01-04 02:39:04 +0100
committerLeonard Kugis <leonard@kug.is>2024-01-04 02:39:04 +0100
commitaa93b37883deb00c6ca74ad72a5464284fe9171f (patch)
treebcbc0792e914059a763a04182bbe0f2538b3a5b4 /core/src/main
parentcb28d70fb5d220953dec337885601597c654e4fd (diff)
Added additional fake location parameters
Bearing, Bearing jitter, Speed jitter, Altitude jitter
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/java/foundation/e/advancedprivacy/domain/entities/FakeLocationCoordinate.kt5
-rw-r--r--core/src/main/java/foundation/e/advancedprivacy/domain/repositories/LocalStateRepository.kt4
2 files changed, 8 insertions, 1 deletions
diff --git a/core/src/main/java/foundation/e/advancedprivacy/domain/entities/FakeLocationCoordinate.kt b/core/src/main/java/foundation/e/advancedprivacy/domain/entities/FakeLocationCoordinate.kt
index b497b13..f692f2a 100644
--- a/core/src/main/java/foundation/e/advancedprivacy/domain/entities/FakeLocationCoordinate.kt
+++ b/core/src/main/java/foundation/e/advancedprivacy/domain/entities/FakeLocationCoordinate.kt
@@ -22,8 +22,11 @@
val longitude: Float,
val altitude: Float,
val speed: Float,
- val jitter: Float,
val bearing: Float,
+ val jitter: Float,
+ val jitterAltitude: Float,
+ val jitterSpeed: Float,
+ val jitterBearing: Float,
val timestamp: Float
)
\ No newline at end of file
diff --git a/core/src/main/java/foundation/e/advancedprivacy/domain/repositories/LocalStateRepository.kt b/core/src/main/java/foundation/e/advancedprivacy/domain/repositories/LocalStateRepository.kt
index 34bc096..386af67 100644
--- a/core/src/main/java/foundation/e/advancedprivacy/domain/repositories/LocalStateRepository.kt
+++ b/core/src/main/java/foundation/e/advancedprivacy/domain/repositories/LocalStateRepository.kt
@@ -34,7 +34,11 @@ interface LocalStateRepository {
var fakeAltitude: Float
var fakeSpeed: Float
+ var fakeBearing: Float
var fakeJitter: Float
+ var fakeJitterAltitude: Float
+ var fakeJitterSpeed: Float
+ var fakeJitterBearing: Float
var fakeLocation: Pair<Float, Float>