1
0
Fork 0

For #4763 - Enable GV logging in debug builds (#5144)

master
Emily Kager 2019-09-09 11:20:51 -07:00 committed by GitHub
parent 5e7672b59e
commit eb26d951ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,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.BuildConfig
import org.mozilla.fenix.utils.Settings
import org.mozilla.geckoview.GeckoRuntime
import org.mozilla.geckoview.GeckoRuntimeSettings
@ -35,6 +36,7 @@ object GeckoProvider {
.crashHandler(CrashHandlerService::class.java)
.useContentProcessHint(true)
.telemetryDelegate(GeckoAdapter())
.debugLogging(BuildConfig.DEBUG)
.build()
if (!Settings.getInstance(context).shouldUseAutoSize) {

View File

@ -6,6 +6,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.BuildConfig
import org.mozilla.fenix.utils.Settings
import org.mozilla.geckoview.GeckoRuntime
import org.mozilla.geckoview.GeckoRuntimeSettings
@ -35,6 +36,7 @@ object GeckoProvider {
.crashHandler(CrashHandlerService::class.java)
.useContentProcessHint(true)
.telemetryDelegate(GeckoAdapter())
.debugLogging(BuildConfig.DEBUG)
.build()
if (!Settings.getInstance(context).shouldUseAutoSize) {