From 3f0cb9d6a15df82878282ceacb967fe0dbca4482 Mon Sep 17 00:00:00 2001 From: "codrut.topliceanu" Date: Mon, 31 May 2021 16:37:46 +0300 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/19571 - Adds gdprForgetMe when stopping Adjust --- .../java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt index baf4566d8b30..18c0906e0380 100644 --- a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt +++ b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt @@ -67,6 +67,7 @@ class AdjustMetricsService(private val application: Application) : MetricsServic override fun stop() { Adjust.setEnabled(false) + Adjust.gdprForgetMe(application.applicationContext) } // We're not currently sending events directly to Adjust -- 2.11.4.GIT