Skip to content

Commit 03c9cb7

Browse files
Fixed: Fix issue where app main activity will be brought to front if it existed in recent apps stack and a shortcut was run from launcher
1 parent 5caa653 commit 03c9cb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
<activity
5050
android:name=".TermuxLaunchShortcutActivity"
5151
android:noHistory="true"
52+
android:launchMode="singleInstance"
53+
android:taskAffinity=".TermuxLaunchShortcutActivity"
5254
android:theme="@android:style/Theme.NoDisplay"
5355
android:exported="true"/>
5456

0 commit comments

Comments
 (0)