Skip to content

Commit

Permalink
Disable Read Aloud by default
Browse files Browse the repository at this point in the history
  • Loading branch information
uazo committed Jan 24, 2024
1 parent 09813e1 commit d7764cf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/cromite_patches_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ Disable-Android-AppRestrictions.patch
Customize-selection-popup.patch
Enables-deactivation-of-the-js-debugger-statement.patch
Enable-gwp-asan-on-Android.patch
Disable-Read-Aloud-by-default.patch

Temp-PerformanceNavigationTiming-privacy-fix.patch
Temp-disable-predictive-back-gesture.patch
Expand Down
17 changes: 17 additions & 0 deletions build/patches/Disable-Read-Aloud-by-default.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
From: uazo <[email protected]>
Date: Wed, 24 Jan 2024 12:19:44 +0000
Subject: Disable Read Aloud by default

---
.../flags/android/chrome_feature_list_cc/Disable-Read-Aloud.inc | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 cromite_flags/chrome/browser/flags/android/chrome_feature_list_cc/Disable-Read-Aloud.inc

diff --git a/cromite_flags/chrome/browser/flags/android/chrome_feature_list_cc/Disable-Read-Aloud.inc b/cromite_flags/chrome/browser/flags/android/chrome_feature_list_cc/Disable-Read-Aloud.inc
new file mode 100644
--- /dev/null
+++ b/cromite_flags/chrome/browser/flags/android/chrome_feature_list_cc/Disable-Read-Aloud.inc
@@ -0,0 +1,2 @@
+SET_CROMITE_FEATURE_DISABLED(kReadAloud);
+SET_CROMITE_FEATURE_DISABLED(kReadAloudPlayback);
--

0 comments on commit d7764cf

Please sign in to comment.