Skip to content

Commit

Permalink
Disable LiveCaption flag by default (#2403)
Browse files Browse the repository at this point in the history
  • Loading branch information
PF4Public authored Jul 11, 2023
1 parent 7132325 commit 48db4e9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/extra/ungoogled-chromium/remove-uneeded-ui.patch
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# the (?) learn more button on many settings pages
# unneeded elements from the profile menu
# the 'Learn more' link on crashed tabs
# disable LiveCaption flag by default, this also removes non-functional Live Caption checkbox from media controls

--- a/chrome/browser/resources/extensions/item_list.html
+++ b/chrome/browser/resources/extensions/item_list.html
Expand Down Expand Up @@ -331,3 +332,14 @@
action_button_ =
actions_container->AddChildView(std::make_unique<views::MdTextButton>(
base::BindRepeating(&SadTabView::PerformAction,
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -830,7 +830,7 @@
#endif // BUILDFLAG(IS_WIN)

// Enables the Live Caption feature on supported devices.
-BASE_FEATURE(kLiveCaption, "LiveCaption", base::FEATURE_ENABLED_BY_DEFAULT);
+BASE_FEATURE(kLiveCaption, "LiveCaption", base::FEATURE_DISABLED_BY_DEFAULT);

// Controls whether a "Share this tab instead" button should be shown for
// getDisplayMedia captures. Note: This flag does not control if the "Share this

0 comments on commit 48db4e9

Please sign in to comment.