mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Bug 1913624 - Remove expired telemetry histogram ALERTS_SERVICE_DND_ENABLED, r=TravisLong.
Depends on D219466 Differential Revision: https://phabricator.services.mozilla.com/D219467
This commit is contained in:
1 parent
ebb94298cd
commit
1945637dae
2 files changed
+1
-15
No files matched your search
@@ -7,7 +7,6 @@
|
||||
#include "mozilla/dom/PermissionMessageUtils.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/StaticPrefs_alerts.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
|
||||
#include "nsAlertsService.h"
|
||||
@@ -299,11 +298,7 @@ NS_IMETHODIMP nsAlertsService::SetManualDoNotDisturb(bool aDoNotDisturb) {
|
||||
nsCOMPtr<nsIAlertsDoNotDisturb> alertsDND(GetDNDBackend());
|
||||
NS_ENSURE_TRUE(alertsDND, NS_ERROR_NOT_IMPLEMENTED);
|
||||
|
||||
nsresult rv = alertsDND->SetManualDoNotDisturb(aDoNotDisturb);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
Telemetry::Accumulate(Telemetry::ALERTS_SERVICE_DND_ENABLED, 1);
|
||||
}
|
||||
return rv;
|
||||
return alertsDND->SetManualDoNotDisturb(aDoNotDisturb);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -13802,15 +13802,6 @@
|
||||
"n_values": 50,
|
||||
"description": "Compression ratio of WOFF2 data (%)"
|
||||
},
|
||||
"ALERTS_SERVICE_DND_ENABLED": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
"products": ["firefox", "fennec"],
|
||||
"alert_emails": ["[email protected]"],
|
||||
"bug_numbers": [1219030],
|
||||
"expires_in_version": "50",
|
||||
"kind": "boolean",
|
||||
"description": "XUL-only: whether the user has toggled do not disturb."
|
||||
},
|
||||
"PLUGIN_DRAWING_MODEL": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
"products": ["firefox", "fennec"],
|
||||
|
||||
Reference in new issue
Block a user