mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 1275782 - Disable "search-term" experiment. r=ahunt
MozReview-Commit-ID: FQY76x04Ilo
This commit is contained in:
parent
f673d8c325
commit
ca0df37914
@ -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);
|
||||
|
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user