mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-13 07:10:28 +00:00
Enable Gecko metrics exfiltration through Glean (#5124)
This commit is contained in:
parent
a5e9da7a55
commit
f824c98c20
@ -4,6 +4,7 @@
|
||||
|
||||
import android.content.Context
|
||||
import android.os.Bundle
|
||||
import mozilla.components.browser.engine.gecko.glean.GeckoAdapter
|
||||
import mozilla.components.lib.crash.handler.CrashHandlerService
|
||||
import org.mozilla.fenix.utils.Settings
|
||||
import org.mozilla.geckoview.GeckoRuntime
|
||||
@ -33,6 +34,7 @@ object GeckoProvider {
|
||||
val runtimeSettings = builder
|
||||
.crashHandler(CrashHandlerService::class.java)
|
||||
.useContentProcessHint(true)
|
||||
.telemetryDelegate(GeckoAdapter())
|
||||
.build()
|
||||
|
||||
if (!Settings.getInstance(context).shouldUseAutoSize) {
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
import android.content.Context
|
||||
import android.os.Bundle
|
||||
import mozilla.components.browser.engine.gecko.glean.GeckoAdapter
|
||||
import mozilla.components.lib.crash.handler.CrashHandlerService
|
||||
import org.mozilla.fenix.utils.Settings
|
||||
import org.mozilla.geckoview.GeckoRuntime
|
||||
@ -33,6 +34,7 @@ object GeckoProvider {
|
||||
val runtimeSettings = builder
|
||||
.crashHandler(CrashHandlerService::class.java)
|
||||
.useContentProcessHint(true)
|
||||
.telemetryDelegate(GeckoAdapter())
|
||||
.build()
|
||||
|
||||
if (!Settings.getInstance(context).shouldUseAutoSize) {
|
||||
|
Loading…
Reference in New Issue
Block a user