summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-03-23 15:45:01 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2023-03-24 14:12:21 +0100
commitcf943b7119dcd09f70ea0557cec8401c38a04a35 (patch)
treead15ba5f1fac94c3f463c0acd11a95a4c021ef6e /ui/src/main/AndroidManifest.xml
parentb7295cd56f9ea94297d28f36bcba9a2cabc1c0a7 (diff)
ui: migrate to OnBackPressedDispatcher
This is compatible with Android 13's prediction-based back gesture animation. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/AndroidManifest.xml')
-rw-r--r--ui/src/main/AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/src/main/AndroidManifest.xml b/ui/src/main/AndroidManifest.xml
index f1daac30..a7538a6e 100644
--- a/ui/src/main/AndroidManifest.xml
+++ b/ui/src/main/AndroidManifest.xml
@@ -35,6 +35,7 @@
android:name=".Application"
android:allowBackup="false"
android:banner="@mipmap/banner"
+ android:enableOnBackInvokedCallback="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"