Skip to content

Commit eb67745

Browse files
Merge pull request #19766 from brave/android14_back_button
Fixes a crash on a tab back gesture on Android 14
2 parents 3a22231 + 0ef46ba commit eb67745

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

patches/chrome-android-java-AndroidManifest.xml.patch

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
2-
index 6f3722cd64029848c1737ced63889cf7cb41c5aa..b6cc02b81f52a5b27c04cd8b5fa7fdd0a9c8e0c6 100644
2+
index 6f3722cd64029848c1737ced63889cf7cb41c5aa..7195ef1e5fc2c67861001a44e7070dea584fae62 100644
33
--- a/chrome/android/java/AndroidManifest.xml
44
+++ b/chrome/android/java/AndroidManifest.xml
55
@@ -28,6 +28,7 @@ by a child template that "extends" this file.
@@ -58,6 +58,15 @@ index 6f3722cd64029848c1737ced63889cf7cb41c5aa..b6cc02b81f52a5b27c04cd8b5fa7fdd0
5858

5959
{% block extra_uses_permissions %}
6060
{% endblock %}
61+
@@ -200,7 +213,7 @@ by a child template that "extends" this file.
62+
android:networkSecurityConfig="@xml/network_security_config"
63+
android:allowAudioPlaybackCapture="false"
64+
android:appComponentFactory="org.chromium.chrome.browser.base.SplitCompatAppComponentFactory"
65+
- android:enableOnBackInvokedCallback="true"
66+
+ android:enableOnBackInvokedCallback="false"
67+
{% block extra_application_attributes %}{% endblock %}>
68+
69+
{% if channel in ['canary', 'dev', 'default'] %}
6170
@@ -349,6 +362,7 @@ by a child template that "extends" this file.
6271
<intent-filter>
6372
<action android:name="com.sec.android.airview.HOVER" />

0 commit comments

Comments
 (0)