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
sigsegv_dump
Greg Alexander 8 years ago
parent c9b8494352
commit 48ab06f047

@ -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" />

Loading…
Cancel
Save