parent
5e7672b59e
commit
eb26d951ab
|
@ -6,6 +6,7 @@ import android.content.Context
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import mozilla.components.browser.engine.gecko.glean.GeckoAdapter
|
import mozilla.components.browser.engine.gecko.glean.GeckoAdapter
|
||||||
import mozilla.components.lib.crash.handler.CrashHandlerService
|
import mozilla.components.lib.crash.handler.CrashHandlerService
|
||||||
|
import org.mozilla.fenix.BuildConfig
|
||||||
import org.mozilla.fenix.utils.Settings
|
import org.mozilla.fenix.utils.Settings
|
||||||
import org.mozilla.geckoview.GeckoRuntime
|
import org.mozilla.geckoview.GeckoRuntime
|
||||||
import org.mozilla.geckoview.GeckoRuntimeSettings
|
import org.mozilla.geckoview.GeckoRuntimeSettings
|
||||||
|
@ -35,6 +36,7 @@ object GeckoProvider {
|
||||||
.crashHandler(CrashHandlerService::class.java)
|
.crashHandler(CrashHandlerService::class.java)
|
||||||
.useContentProcessHint(true)
|
.useContentProcessHint(true)
|
||||||
.telemetryDelegate(GeckoAdapter())
|
.telemetryDelegate(GeckoAdapter())
|
||||||
|
.debugLogging(BuildConfig.DEBUG)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
if (!Settings.getInstance(context).shouldUseAutoSize) {
|
if (!Settings.getInstance(context).shouldUseAutoSize) {
|
||||||
|
|
|
@ -6,6 +6,7 @@ import android.content.Context
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import mozilla.components.browser.engine.gecko.glean.GeckoAdapter
|
import mozilla.components.browser.engine.gecko.glean.GeckoAdapter
|
||||||
import mozilla.components.lib.crash.handler.CrashHandlerService
|
import mozilla.components.lib.crash.handler.CrashHandlerService
|
||||||
|
import org.mozilla.fenix.BuildConfig
|
||||||
import org.mozilla.fenix.utils.Settings
|
import org.mozilla.fenix.utils.Settings
|
||||||
import org.mozilla.geckoview.GeckoRuntime
|
import org.mozilla.geckoview.GeckoRuntime
|
||||||
import org.mozilla.geckoview.GeckoRuntimeSettings
|
import org.mozilla.geckoview.GeckoRuntimeSettings
|
||||||
|
@ -35,6 +36,7 @@ object GeckoProvider {
|
||||||
.crashHandler(CrashHandlerService::class.java)
|
.crashHandler(CrashHandlerService::class.java)
|
||||||
.useContentProcessHint(true)
|
.useContentProcessHint(true)
|
||||||
.telemetryDelegate(GeckoAdapter())
|
.telemetryDelegate(GeckoAdapter())
|
||||||
|
.debugLogging(BuildConfig.DEBUG)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
if (!Settings.getInstance(context).shouldUseAutoSize) {
|
if (!Settings.getInstance(context).shouldUseAutoSize) {
|
||||||
|
|
Loading…
Reference in New Issue