From d7764cf6bb757f9533fea3b74975433ba05407a2 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Wed, 24 Jan 2024 13:50:50 +0100 Subject: [PATCH] Disable Read Aloud by default --- build/cromite_patches_list.txt | 1 + .../patches/Disable-Read-Aloud-by-default.patch | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 build/patches/Disable-Read-Aloud-by-default.patch diff --git a/build/cromite_patches_list.txt b/build/cromite_patches_list.txt index 2c60c1a3..24fd9f4a 100644 --- a/build/cromite_patches_list.txt +++ b/build/cromite_patches_list.txt @@ -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 diff --git a/build/patches/Disable-Read-Aloud-by-default.patch b/build/patches/Disable-Read-Aloud-by-default.patch new file mode 100644 index 00000000..87a9b005 --- /dev/null +++ b/build/patches/Disable-Read-Aloud-by-default.patch @@ -0,0 +1,17 @@ +From: uazo +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); +--