diff options
author | jacquarg <guillaume.jacquart@hoodbrains.com> | 2022-02-04 08:42:34 +0100 |
---|---|---|
committer | jacquarg <guillaume.jacquart@hoodbrains.com> | 2022-02-04 18:19:46 +0100 |
commit | 9b14adbfa288a5ddd721ec3ee746b04d2fcb71d4 (patch) | |
tree | d25107f4391a6300bf76d1b72963a6579f2aa445 /app/src | |
parent | 58bf2b3ca3e06b27edf00ac86826482400d9e556 (diff) |
#4586 toggle off mapbox telemetry.
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt b/app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt index 9372a66..e6081f1 100644 --- a/app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt +++ b/app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt @@ -18,9 +18,15 @@ package foundation.e.privacycentralapp import android.app.Application +import com.mapbox.mapboxsdk.Mapbox class PrivacyCentralApplication : Application() { // Initialize the dependency container. val dependencyContainer: DependencyContainer by lazy { DependencyContainer(this) } + + override fun onCreate() { + super.onCreate() + Mapbox.getTelemetry()?.setUserTelemetryRequestState(false) + } } |