Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5644)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/preferences/MainPreferences.java

Issue 2790183002: Add UMA for the content suggestions settings (Closed)
Patch Set: address comments and rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/MainPreferences.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/MainPreferences.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/MainPreferences.java
index 4e8c3f3606fea8fc15ef4dbc2e98e2fe63149b43..704fc0dd05acda9668a6a872049cdd48bb44294f 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/MainPreferences.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/MainPreferences.java
@@ -145,7 +145,7 @@ private void updatePreferences() {
Preference suggestionsPref = findPreference(PREF_SUGGESTIONS);
if (ChromeFeatureList.isEnabled(ChromeFeatureList.CONTENT_SUGGESTIONS_SETTINGS)) {
- setOnOffSummary(suggestionsPref, SnippetsBridge.isRemoteSuggestionsServiceEnabled());
+ setOnOffSummary(suggestionsPref, SnippetsBridge.areRemoteSuggestionsEnabled());
} else {
getPreferenceScreen().removePreference(suggestionsPref);
}

Powered by Google App Engine
This is Rietveld 408576698