From 5d64ad2e482885f6e3efecad223d0d5e7afe7e1f Mon Sep 17 00:00:00 2001 From: First Last Date: Wed, 10 Jul 2024 00:40:26 +0100 Subject: [PATCH] [predictive-back-navigation] enable for the whole app Summary: Back-to-home animation is shown when user swipes back from the main activity. Test Plan: * [x] go back from the main activity * [ ] click on search view, go back, search view should collapse * [ ] go back to from the package info screen to package list screen * [ ] go back from app settings screen to the package list screen --- app/src/main/AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d6ca84edf..3364069c4 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -29,6 +29,7 @@ android:name=".MainApplication" android:allowBackup="true" android:banner="@drawable/tv_banner" + android:enableOnBackInvokedCallback="true" android:icon="@mipmap/ic_launcher" android:label="@string/application_name" android:networkSecurityConfig="@xml/network_security_config"