Skip to content

Commit

Permalink
Content settings infrastructure: fix the value used as a summary of t…
Browse files Browse the repository at this point in the history
…he category
  • Loading branch information
uazo committed May 25, 2024
1 parent b28092b commit e08c144
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/patches/Content-settings-infrastructure.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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);
+ }
}

Expand Down

0 comments on commit e08c144

Please sign in to comment.