From 46ec3315b502680f3e30758b0849b5f3a143c9c6 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 23 Mar 2023 15:45:01 +0100 Subject: ui: migrate to OnBackPressedDispatcher This is compatible with Android 13's prediction-based back gesture animation. Signed-off-by: Jason A. Donenfeld --- ui/src/main/AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/src/main/AndroidManifest.xml') 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" -- cgit v1.2.3