Bug 1239102 - Create histogram probe to track % of people setting a custom home page. r=sebastian p=mfinkle

--HG--
extra : commitid : At83eWERMce
extra : rebase_source : 9708da7f77cca84c86324841792a00d752c2704b
This commit is contained in:
Margaret Leibovic 2016-01-18 13:27:31 -05:00
parent 62acd1ee46
commit 650004648d
2 changed files with 9 additions and 0 deletions

View File

@ -1689,6 +1689,8 @@ public class BrowserApp extends GeckoApp
Telemetry.addToHistogram("FENNEC_READING_LIST_COUNT", db.getReadingListAccessor().getCount(cr));
Telemetry.addToHistogram("BROWSER_IS_USER_DEFAULT", (isDefaultBrowser(Intent.ACTION_VIEW) ? 1 : 0));
Telemetry.addToHistogram("FENNEC_TABQUEUE_ENABLED", (TabQueueHelper.isTabQueueEnabled(BrowserApp.this) ? 1 : 0));
Telemetry.addToHistogram("FENNEC_CUSTOM_HOMEPAGE", (TextUtils.isEmpty(getHomepage()) ? 0 : 1));
if (Versions.feature16Plus) {
Telemetry.addToHistogram("BROWSER_IS_ASSIST_DEFAULT", (isDefaultBrowser(Intent.ACTION_ASSIST) ? 1 : 0));
}

View File

@ -8990,6 +8990,13 @@
"kind": "boolean",
"description": "Has the tab queue functionality been enabled."
},
"FENNEC_CUSTOM_HOMEPAGE": {
"expires_in_version": "50",
"alert_emails": ["mobile-frontend@mozilla.com"],
"bug_numbers": [1239102],
"kind": "boolean",
"description": "Whether the user has set a custom homepage."
},
"GRAPHICS_DRIVER_STARTUP_TEST": {
"alert_emails": ["danderson@mozilla.com"],
"expires_in_version": "never",