From 46f86ef9c445f5fa439fa77378ab3bb476328cee Mon Sep 17 00:00:00 2001 From: Ronak Jain Date: Thu, 16 Nov 2023 19:19:48 +0530 Subject: [PATCH 1/2] added support to remove the termux window from the recent apps menu on EOF android:excludeFromRecents="true": Ensures that the activity is excluded from the list of recent apps when it finishes. --- app/src/main/AndroidManifest.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 4e95702bc3..0481afb0a5 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -58,7 +58,12 @@ android:launchMode="singleTask" android:resizeableActivity="true" android:theme="@style/Theme.TermuxActivity.DayNight.NoActionBar" +<<<<<<< Updated upstream tools:targetApi="n"> +======= + android:excludeFromRecents="true" + tools:targetApi="n"> +>>>>>>> Stashed changes From f7aceddc01a04b42a957bbeb02b5e20a0175c6e4 Mon Sep 17 00:00:00 2001 From: Ronak Jain Date: Thu, 16 Nov 2023 19:26:12 +0530 Subject: [PATCH 2/2] added support to remove the termux window from the recent apps menu on EOF android:excludeFromRecents="true": Ensures that the activity is excluded from the list of recent apps when it finishes. --- app/src/main/AndroidManifest.xml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0481afb0a5..e6a8f745c9 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -58,12 +58,8 @@ android:launchMode="singleTask" android:resizeableActivity="true" android:theme="@style/Theme.TermuxActivity.DayNight.NoActionBar" -<<<<<<< Updated upstream - tools:targetApi="n"> -======= android:excludeFromRecents="true" - tools:targetApi="n"> ->>>>>>> Stashed changes + tools:targetApi="n">