From 116e2b5f020af0967081968206c76e85b9248597 Mon Sep 17 00:00:00 2001
From: Charles Lombardo <clombardo169@gmail.com>
Date: Mon, 22 May 2023 20:14:48 -0400
Subject: [PATCH] android: Enable onBackInvokedCallback

For now this enables the ability to see the new Android 13 back gesture animations but later we can create custom animations that follow the back gesture.
---
 src/android/app/src/main/AndroidManifest.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml
index ae473ae3a..aed7f9dc4 100644
--- a/src/android/app/src/main/AndroidManifest.xml
+++ b/src/android/app/src/main/AndroidManifest.xml
@@ -28,7 +28,8 @@
         android:banner="@drawable/ic_launcher"
         android:extractNativeLibs="true"
         android:fullBackupContent="@xml/data_extraction_rules"
-        android:dataExtractionRules="@xml/data_extraction_rules_api_31">
+        android:dataExtractionRules="@xml/data_extraction_rules_api_31"
+        android:enableOnBackInvokedCallback="true">
 
         <activity
             android:name="org.yuzu.yuzu_emu.ui.main.MainActivity"