From 9b14adbfa288a5ddd721ec3ee746b04d2fcb71d4 Mon Sep 17 00:00:00 2001 From: jacquarg Date: Fri, 4 Feb 2022 08:42:34 +0100 Subject: #4586 toggle off mapbox telemetry. --- .../foundation/e/privacycentralapp/PrivacyCentralApplication.kt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/src') 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) + } } -- cgit v1.2.1