mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1204995 - Add telemetry histogram probe to know what % of people have "open external links in private tabs" enabled. r=mcomella r=bsmedberg
This commit is contained in:
parent
8eca2b20b1
commit
ad4e1a343f
@ -1808,6 +1808,11 @@ public class BrowserApp extends GeckoApp
|
||||
if (Versions.feature16Plus) {
|
||||
Telemetry.addToHistogram("BROWSER_IS_ASSIST_DEFAULT", (isDefaultBrowser(Intent.ACTION_ASSIST) ? 1 : 0));
|
||||
}
|
||||
|
||||
final SharedPreferences sharedPrefs = GeckoSharedPrefs.forApp(BrowserApp.this);
|
||||
if (sharedPrefs.getBoolean(GeckoPreferences.PREFS_OPEN_URLS_IN_PRIVATE, false)) {
|
||||
Telemetry.addToHistogram("FENNEC_OPEN_URLS_IN_PRIVATE", 1);
|
||||
}
|
||||
} else if ("Updater:Launch".equals(event)) {
|
||||
handleUpdaterLaunch();
|
||||
} else {
|
||||
|
@ -8921,6 +8921,12 @@
|
||||
"kind": "boolean",
|
||||
"description": "Has the tab queue functionality been enabled."
|
||||
},
|
||||
"FENNEC_OPEN_URLS_IN_PRIVATE": {
|
||||
"alert_emails": ["margaret@mozilla.com"],
|
||||
"expires_in_version": "44",
|
||||
"kind": "flag",
|
||||
"description": "Reports the state of the open external links in private tabs preference"
|
||||
},
|
||||
"VIDEO_EME_DISABLED": {
|
||||
"alert_emails": ["edwin@mozilla.com"],
|
||||
"expires_in_version": "45",
|
||||
|
Loading…
Reference in New Issue
Block a user