Bug 966485 - Remove telemetry bucket for FENNEC_STARTUP_TIME_ABOUTHOME. r=rnewman, r=margaret

This commit is contained in:
Michael Holloway 2015-02-12 20:32:16 -05:00
Родитель b70737f76a
Коммит e45875661d
2 изменённых файлов: 0 добавлений и 22 удалений

Просмотреть файл

@ -181,7 +181,6 @@ public class BrowserApp extends GeckoApp
private HomePager mHomePager;
private TabsPanel mTabsPanel;
private ViewGroup mHomePagerContainer;
protected Telemetry.Timer mAboutHomeStartupTimer;
private ActionModeCompat mActionMode;
private boolean mHideDynamicToolbarOnActionModeEnd;
private TabHistoryController tabHistoryController;
@ -657,8 +656,6 @@ public class BrowserApp extends GeckoApp
@Override
public void onCreate(Bundle savedInstanceState) {
mAboutHomeStartupTimer = new Telemetry.UptimeTimer("FENNEC_STARTUP_TIME_ABOUTHOME");
final Intent intent = getIntent();
// Note that we're calling GeckoProfile.get *before GeckoApp.onCreate*.
@ -1378,16 +1375,6 @@ public class BrowserApp extends GeckoApp
Telemetry.sendUIEvent(TelemetryContract.Event.SHARE, TelemetryContract.Method.LIST);
}
@Override
protected void loadStartupTab(String url, int flags) {
// We aren't showing about:home, so cancel the telemetry timer
if (url != null || mShouldRestore) {
mAboutHomeStartupTimer.cancel();
}
super.loadStartupTab(url, flags);
}
private void setToolbarMargin(int margin) {
((RelativeLayout.LayoutParams) mGeckoLayout.getLayoutParams()).topMargin = margin;
mGeckoLayout.requestLayout();

Просмотреть файл

@ -4532,15 +4532,6 @@
"description": "The way the GeckoApp was launched. (Normal, URL, Prefetch, Redirector)",
"cpp_guard": "ANDROID"
},
"FENNEC_STARTUP_TIME_ABOUTHOME": {
"expires_in_version": "never",
"kind": "exponential",
"low": 100,
"high": "10000",
"n_buckets": 20,
"description": "Time for the about:home page to be displayed (ms)",
"cpp_guard": "ANDROID"
},
"FENNEC_STARTUP_TIME_GECKOREADY": {
"expires_in_version": "never",
"kind": "exponential",