Bug 1313316 - Add 'activity-stream' experiment. r=ahunt
authorSebastian Kaspari <s.kaspari@gmail.com>
Fri, 28 Oct 2016 14:00:03 +0200
changeset 431758 04ed5f3ad61afdef4511a5455198488839c55025
parent 431757 ee32f39572dd76c9b6db98831d61b54c668147f5
child 431759 3b502c7d1e530cf7ba67b5c7b3db041860a2e7af
push id34101
push users.kaspari@gmail.com
push dateMon, 31 Oct 2016 14:18:34 +0000
reviewersahunt
bugs1313316
milestone52.0a1
Bug 1313316 - Add 'activity-stream' experiment. r=ahunt MozReview-Commit-ID: bamyo1Yb1o
mobile/android/base/java/org/mozilla/gecko/Experiments.java
--- a/mobile/android/base/java/org/mozilla/gecko/Experiments.java
+++ b/mobile/android/base/java/org/mozilla/gecko/Experiments.java
@@ -51,16 +51,19 @@ public class Experiments {
     public static final String URLBAR_SHOW_ORIGIN_ONLY = "urlbar-show-origin-only";
 
     // Show name of organization (EV cert) instead of full URL in URL bar (Bug 1249594).
     public static final String URLBAR_SHOW_EV_CERT_OWNER = "urlbar-show-ev-cert-owner";
 
     // Play HLS videos in a VideoView (Bug 1313391)
     public static final String HLS_VIDEO_PLAYBACK = "hls-video-playback";
 
+    // Make new activity stream panel available (to replace top sites) (Bug 1313316)
+    public static final String ACTIVITY_STREAM = "activity-stream";
+
     /**
      * Returns if a user is in certain local experiment.
      * @param experiment Name of experiment to look up
      * @return returns value for experiment or false if experiment does not exist.
      */
     public static boolean isInExperimentLocal(Context context, String experiment) {
         if (SwitchBoard.isInBucket(context, 0, 20)) {
             return Experiments.ONBOARDING3_A.equals(experiment);