From e08c144f4e40e1627337a0899f7a4c7d1b908063 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Sat, 25 May 2024 13:11:02 +0200 Subject: [PATCH] Content settings infrastructure: fix the value used as a summary of the category --- build/patches/Content-settings-infrastructure.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/patches/Content-settings-infrastructure.patch b/build/patches/Content-settings-infrastructure.patch index 8546b059..1d46556e 100644 --- a/build/patches/Content-settings-infrastructure.patch +++ b/build/patches/Content-settings-infrastructure.patch @@ -2491,9 +2491,9 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c + checked + ? ContentSettingsResources.getDefaultEnabledValue(contentType) + : ContentSettingsResources.getDefaultDisabledValue(contentType); -+ p.setSummary( -+ ContentSettingsResources.getCategorySummary( -+ defaultForToggle, /* isOneTime= */ false)); ++ summary = ContentSettingsResources.getCategorySummary( ++ contentType, defaultForToggle, /* isOneTime= */ false); ++ p.setSummary(summary); + } }