From b0b5b3fa14f1db84fa2766ab69fca4aca9722f82 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Tue, 15 Aug 2023 23:05:45 +0200 Subject: [PATCH] Temp disable predictive back gesture --- build/bromite_patches_list.txt | 3 ++- ...Temp-disable-predictive-back-gesture.patch | 22 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 build/patches/00Temp-disable-predictive-back-gesture.patch diff --git a/build/bromite_patches_list.txt b/build/bromite_patches_list.txt index 80e08522d..88869f089 100644 --- a/build/bromite_patches_list.txt +++ b/build/bromite_patches_list.txt @@ -283,4 +283,5 @@ Timezone-customization.patch 00Disable-remote-altsvc-for-h3-connections.patch 00do-not-block-build-incompatible-profiles.patch 00Allow-DocumentPiP-if-PopupsAndRedirects-are-active.patch -00allow-the-download-of-clang-for-windows-crossbuild.patch \ No newline at end of file +00allow-the-download-of-clang-for-windows-crossbuild.patch +00Temp-disable-predictive-back-gesture.patch \ No newline at end of file diff --git a/build/patches/00Temp-disable-predictive-back-gesture.patch b/build/patches/00Temp-disable-predictive-back-gesture.patch new file mode 100644 index 000000000..a754a914b --- /dev/null +++ b/build/patches/00Temp-disable-predictive-back-gesture.patch @@ -0,0 +1,22 @@ +From: Your Name +Date: Sat, 12 Aug 2023 14:48:57 +0000 +Subject: Temp disable predictive back gesture + +--- + chrome/android/java/AndroidManifest.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml +--- a/chrome/android/java/AndroidManifest.xml ++++ b/chrome/android/java/AndroidManifest.xml +@@ -189,7 +189,7 @@ by a child template that "extends" this file. + android:networkSecurityConfig="@xml/network_security_config" + android:allowAudioPlaybackCapture="false" + android:appComponentFactory="org.chromium.chrome.browser.base.SplitCompatAppComponentFactory" +- android:enableOnBackInvokedCallback="true" ++ android:enableOnBackInvokedCallback="false" + {% block extra_application_attributes %}{% endblock %}> + + {% if channel in ['canary', 'dev', 'default'] %} +-- +2.25.1