From aa93b37883deb00c6ca74ad72a5464284fe9171f Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Thu, 4 Jan 2024 02:39:04 +0100 Subject: Added additional fake location parameters Bearing, Bearing jitter, Speed jitter, Altitude jitter --- .../e/advancedprivacy/domain/entities/FakeLocationCoordinate.kt | 5 ++++- .../e/advancedprivacy/domain/repositories/LocalStateRepository.kt | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'core') 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 -- cgit v1.2.1