From 26eef1f095e99bfdb9b4cf8c9974346fc1af2a07 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 5 Feb 2025 16:13:13 +0100 Subject: [PATCH] android: Replace deprecated onBackPressed() and enable predictive back gestures Doesn't really make a difference it seems. --- .../android/app/src/main/AndroidManifest.xml | 1 + .../ui/SelectedApplicationsActivity.java | 18 +++++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/frontends/android/app/src/main/AndroidManifest.xml b/src/frontends/android/app/src/main/AndroidManifest.xml index a5e6aabc2..51c6ff89e 100644 --- a/src/frontends/android/app/src/main/AndroidManifest.xml +++ b/src/frontends/android/app/src/main/AndroidManifest.xml @@ -37,6 +37,7 @@ android:label="@string/app_name" android:theme="@style/ApplicationTheme" android:networkSecurityConfig="@xml/network_security_config" + android:enableOnBackInvokedCallback="true" android:allowBackup="false" >