|
|
@ -4,7 +4,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
import android.content.Context
|
|
|
|
import android.content.Context
|
|
|
|
import android.os.Bundle
|
|
|
|
import android.os.Bundle
|
|
|
|
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.utils.Settings
|
|
|
|
import org.mozilla.fenix.utils.Settings
|
|
|
|
import org.mozilla.geckoview.GeckoRuntime
|
|
|
|
import org.mozilla.geckoview.GeckoRuntime
|
|
|
@ -34,7 +33,6 @@ object GeckoProvider {
|
|
|
|
val runtimeSettings = builder
|
|
|
|
val runtimeSettings = builder
|
|
|
|
.crashHandler(CrashHandlerService::class.java)
|
|
|
|
.crashHandler(CrashHandlerService::class.java)
|
|
|
|
.useContentProcessHint(true)
|
|
|
|
.useContentProcessHint(true)
|
|
|
|
.telemetryDelegate(GeckoAdapter())
|
|
|
|
|
|
|
|
.build()
|
|
|
|
.build()
|
|
|
|
|
|
|
|
|
|
|
|
if (!Settings.getInstance(context).shouldUseAutoSize) {
|
|
|
|
if (!Settings.getInstance(context).shouldUseAutoSize) {
|
|
|
|