Bug 1887023 - Remove service-glean API wrappers from android-components. r=janerik,android-reviewers,gl

Differential Revision: https://phabricator.services.mozilla.com/D217479
This commit is contained in:
Travis Long
2024-07-31 17:53:42 +00:00
parent bf21696da4
commit 7c3aee0480
121 changed files with 146 additions and 536 deletions

View File

@@ -135,10 +135,12 @@ dependencies {
implementation project(':ui-tabcounter')
implementation project(':ui-widgets')
// Add a dependency on service-glean to simplify the testing workflow
// Add a dependency on glean to simplify the testing workflow
// for engineers that want to test Gecko metrics exfiltrated via the Glean
// SDK. See bug 1592935 for more context.
implementation project(':service-glean')
implementation project(":service-glean")
implementation ComponentsDependencies.mozilla_glean
implementation project(':service-location')
implementation project(':service-digitalassetlinks')
implementation project(':service-sync-logins')

View File

@@ -14,9 +14,6 @@ import mozilla.components.browser.state.action.SystemAction
import mozilla.components.browser.storage.sync.GlobalPlacesDependencyProvider
import mozilla.components.feature.addons.update.GlobalAddonDependencyProvider
import mozilla.components.lib.fetch.httpurlconnection.HttpURLConnectionClient
import mozilla.components.service.glean.BuildInfo
import mozilla.components.service.glean.Glean
import mozilla.components.service.glean.config.Configuration
import mozilla.components.service.glean.net.ConceptFetchHttpUploader
import mozilla.components.support.base.facts.Facts
import mozilla.components.support.base.facts.processor.LogFactProcessor
@@ -27,6 +24,9 @@ import mozilla.components.support.ktx.android.content.isMainProcess
import mozilla.components.support.ktx.android.content.runOnlyInMainProcess
import mozilla.components.support.rustlog.RustLog
import mozilla.components.support.webextensions.WebExtensionSupport
import mozilla.telemetry.glean.BuildInfo
import mozilla.telemetry.glean.Glean
import mozilla.telemetry.glean.config.Configuration
import java.util.Calendar
import java.util.TimeZone
import java.util.concurrent.TimeUnit