1
0
mirror of http://galexander.org/git/simplesshd.git synced 2025-03-01 15:31:59 +00:00

make the main activity "singleTask" because otherwise it's possible for

two of them to get stacked on top of eachother (one lingering from having
been launched, and another from tapping the notification, for example) in
the same task, and then the back (or QUIT) button won't do anything the
first tiem
This commit is contained in:
Greg Alexander 2016-10-16 16:09:15 -04:00
parent c9b8494352
commit 48ab06f047

View File

@ -8,7 +8,8 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application android:label="SimpleSSHD" android:icon="@drawable/icon">
<activity android:name="SimpleSSHD" android:label="SimpleSSHD">
<activity android:name="SimpleSSHD" android:label="SimpleSSHD"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />