mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00
Bug 966485 - Remove telemetry bucket for FENNEC_STARTUP_TIME_ABOUTHOME. r=rnewman, r=margaret
This commit is contained in:
parent
b70737f76a
commit
e45875661d
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user