1
0
Fork 0

No issue: Enable about:config in beta builds

master
Emily Kager 2020-01-22 15:12:24 -08:00 committed by Emily Kager
parent 1ee0243efa
commit a39a9e5b4e
2 changed files with 8 additions and 0 deletions

View File

@ -44,6 +44,7 @@ object GeckoProvider {
.crashHandler(CrashHandlerService::class.java)
.useContentProcessHint(true)
.telemetryDelegate(GeckoAdapter())
.aboutConfigEnabled(Config.channel.isBeta)
.debugLogging(Config.channel.isDebug)
.build()

View File

@ -40,6 +40,13 @@ enum class ReleaseChannel {
else -> false
}
val isBeta: Boolean
get() = when (this) {
FennecBeta -> true
FenixBeta -> true
else -> false
}
val isNightlyOrDebug: Boolean
get() = when (this) {
FenixNightly -> true