summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2022-02-04 17:31:01 +0000
committerGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2022-02-04 17:31:01 +0000
commitaa24315969cebf4ee10baecb761947f80f3042cc (patch)
treed25107f4391a6300bf76d1b72963a6579f2aa445 /app/src
parent58bf2b3ca3e06b27edf00ac86826482400d9e556 (diff)
parent9b14adbfa288a5ddd721ec3ee746b04d2fcb71d4 (diff)
Merge branch 'i4586_remove_mapbox_trackers' into 'main'
#4586 toggle off mapbox telemetry. See merge request e/privacy-central/privacycentralapp!12
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt6
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)
+ }
}