Bug 1275782 - Disable "search-term" experiment. r=ahunt

MozReview-Commit-ID: FQY76x04Ilo
This commit is contained in:
Chenxia Liu 2016-05-31 15:49:51 -07:00
parent f673d8c325
commit ca0df37914
2 changed files with 1 additions and 8 deletions

View File

@ -2315,11 +2315,7 @@ public class BrowserApp extends GeckoApp
final boolean isUserSearchTerm = selectedTab != null &&
!TextUtils.isEmpty(selectedTab.getUserRequested());
if (isUserSearchTerm && SwitchBoard.isInExperiment(getContext(), Experiments.SEARCH_TERM)) {
showBrowserSearchAfterAnimation(animator);
} else {
showHomePagerWithAnimator(panelId, null, animator);
}
showHomePagerWithAnimator(panelId, null, animator);
animator.start();
Telemetry.startUISession(TelemetryContract.Session.AWESOMESCREEN);

View File

@ -24,9 +24,6 @@ import java.util.List;
public class Experiments {
private static final String LOGTAG = "GeckoExperiments";
// Show search mode (instead of home panels) when tapping on urlbar if there is a search term in the urlbar.
public static final String SEARCH_TERM = "search-term";
// Show a system notification linking to a "What's New" page on app update.
public static final String WHATSNEW_NOTIFICATION = "whatsnew-notification";