From cb6fdc2f748e4b5f9b4468d28fb6f9c027e7eb28 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Tue, 23 Aug 2016 15:38:59 +0200 Subject: [PATCH] Bug 1287387 - Remove FENNEC_RESTRICTED_PROFILE_RESTRICTIONS histogram. r=liuche MozReview-Commit-ID: CvSLLCAACZv --HG-- extra : rebase_source : c15a2e63ea12dc8612c8dc484eaf1f6dcebb782a --- .../android/base/java/org/mozilla/gecko/BrowserApp.java | 7 ------- toolkit/components/telemetry/Histograms.json | 9 --------- 2 files changed, 16 deletions(-) diff --git a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java index 214f2e4dc6ab..0244bc482896 100644 --- a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java +++ b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java @@ -1761,13 +1761,6 @@ public class BrowserApp extends GeckoApp if (Versions.feature16Plus) { Telemetry.addToHistogram("BROWSER_IS_ASSIST_DEFAULT", (isDefaultBrowser(Intent.ACTION_ASSIST) ? 1 : 0)); } - - if (Restrictions.isRestrictedProfile(this)) { - for (Restrictable rest : RestrictedProfileConfiguration.getVisibleRestrictions()) { - int value = Restrictions.isAllowed(this, rest) ? 1 : 0; - Telemetry.addToKeyedHistogram("FENNEC_RESTRICTED_PROFILE_RESTRICTIONS", rest.name(), value); - } - } } else if ("Updater:Launch".equals(event)) { handleUpdaterLaunch(); } else if ("Download:AndroidDownloadManager".equals(event)) { diff --git a/toolkit/components/telemetry/Histograms.json b/toolkit/components/telemetry/Histograms.json index ddd9279ecb9b..e3a3ae968662 100644 --- a/toolkit/components/telemetry/Histograms.json +++ b/toolkit/components/telemetry/Histograms.json @@ -5616,15 +5616,6 @@ "description": "Time for a URL bar DB search to return (ms)", "cpp_guard": "ANDROID" }, - "FENNEC_RESTRICTED_PROFILE_RESTRICTIONS": { - "expires_in_version": "50", - "kind": "enumerated", - "n_values": 30, - "description": "Whether various restrictions are set, keyed by restiction name", - "keyed": true, - "bug_numbers": [1218942], - "alert_emails": ["mobile-frontend@mozilla.com"] - }, "FENNEC_STARTUP_TIME_GECKOREADY": { "expires_in_version": "never", "kind": "exponential",