зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1392538 - Remove unused onboarding experiments. r=sebastian
MozReview-Commit-ID: 5Xjpz7l1IxP --HG-- extra : rebase_source : 9d1bf0178644b86651c20a50b0d764d826925dae
This commit is contained in:
Родитель
d93840902b
Коммит
154d14c973
|
@ -25,20 +25,12 @@ public class Experiments {
|
|||
// Show a system notification linking to a "What's New" page on app update.
|
||||
public static final String WHATSNEW_NOTIFICATION = "whatsnew-notification";
|
||||
|
||||
// Onboarding: "Features and Story". These experiments are determined
|
||||
// on the client, they are not part of the server config.
|
||||
public static final String ONBOARDING3_A = "onboarding3-a"; // Control: No first run
|
||||
public static final String ONBOARDING3_B = "onboarding3-b"; // 4 static Feature + 1 dynamic slides
|
||||
public static final String ONBOARDING3_C = "onboarding3-c"; // Differentiating features slides
|
||||
|
||||
// Synchronizing the catalog of downloadable content from Kinto
|
||||
public static final String DOWNLOAD_CONTENT_CATALOG_SYNC = "download-content-catalog-sync";
|
||||
|
||||
// Promotion for "Add to homescreen"
|
||||
public static final String PROMOTE_ADD_TO_HOMESCREEN = "promote-add-to-homescreen";
|
||||
|
||||
public static final String PREF_ONBOARDING_VERSION = "onboarding_version";
|
||||
|
||||
// Promotion to bookmark reader-view items after entering reader view three times (Bug 1247689)
|
||||
public static final String TRIPLE_READERVIEW_BOOKMARK_PROMPT = "triple-readerview-bookmark-prompt";
|
||||
|
||||
|
@ -70,13 +62,6 @@ public class Experiments {
|
|||
public static List<String> getActiveExperiments(Context c) {
|
||||
final List<String> experiments = new LinkedList<>();
|
||||
experiments.addAll(SwitchBoard.getActiveExperiments(c));
|
||||
|
||||
// Add onboarding version.
|
||||
final String onboardingExperiment = GeckoSharedPrefs.forProfile(c).getString(Experiments.PREF_ONBOARDING_VERSION, null);
|
||||
if (!TextUtils.isEmpty(onboardingExperiment)) {
|
||||
experiments.add(onboardingExperiment);
|
||||
}
|
||||
|
||||
return experiments;
|
||||
}
|
||||
|
||||
|
|
|
@ -66,10 +66,6 @@ public class FirstrunAnimationContainer extends LinearLayout {
|
|||
onFinishListener.onFinish();
|
||||
}
|
||||
animateHide();
|
||||
|
||||
// Stop all versions of firstrun A/B sessions.
|
||||
Telemetry.stopUISession(TelemetryContract.Session.EXPERIMENT, Experiments.ONBOARDING3_B);
|
||||
Telemetry.stopUISession(TelemetryContract.Session.EXPERIMENT, Experiments.ONBOARDING3_C);
|
||||
}
|
||||
|
||||
private void animateHide() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче