From c136bb8fd22561d0443f256266975e7fe38acf23 Mon Sep 17 00:00:00 2001 From: Chenxia Liu Date: Thu, 21 Jan 2016 12:17:59 -0800 Subject: [PATCH] Bug 1241591 - Switch onboarding to A version only. r=margaret --HG-- extra : commitid : BoO5vOL84Ej extra : rebase_source : d0164212260f0dd3458ae07d72c3c4574d3a5fab --- .../org/mozilla/gecko/firstrun/FirstrunPagerConfig.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mobile/android/base/java/org/mozilla/gecko/firstrun/FirstrunPagerConfig.java b/mobile/android/base/java/org/mozilla/gecko/firstrun/FirstrunPagerConfig.java index 545a7ba7cdbf..ca95a791b32b 100644 --- a/mobile/android/base/java/org/mozilla/gecko/firstrun/FirstrunPagerConfig.java +++ b/mobile/android/base/java/org/mozilla/gecko/firstrun/FirstrunPagerConfig.java @@ -47,11 +47,8 @@ public class FirstrunPagerConfig { */ private static boolean isInExperimentLocal(Context context, String name) { if (AppConstants.MOZ_SWITCHBOARD) { - if (SwitchBoard.isInBucket(context, 0, 50)) { - return ONBOARDING_A.equals(name); - } else if (SwitchBoard.isInBucket(context, 50, 100)) { - return ONBOARDING_B.equals(name); - } + // Only show Onboarding A. + return ONBOARDING_A.equals(name); } return false; }