1
0
Fork 0

Bug 1605454 - Change experiment name and take branch into account

master
Kris Taeleman 2020-01-03 11:07:01 -08:00 committed by Emily Kager
parent 2c4790de66
commit de5d44edd8
1 changed files with 5 additions and 2 deletions

View File

@ -40,9 +40,12 @@ object GeckoProvider {
.debugLogging(Config.channel.isDebug)
.build()
Experiments.withExperiment("control-webrender-rollout-for-fenix") {
Experiments.withExperiment("webrender-performance-comparisson-experiment") {
branchName ->
if (branchName == "disable_webrender") {
runtimeSettings.extras.putInt("forcedisablewebrender", 1);
}
}
if (!Settings.getInstance(context).shouldUseAutoSize) {
runtimeSettings.automaticFontSizeAdjustment = false