AndroidManifest use singleTop instead of singleTask to start new task when sharing

This commit is contained in:
Daniel Gultsch 2017-11-06 12:18:24 +01:00
parent ebd3330037
commit fd7ee7c025

View file

@ -60,7 +60,7 @@
<activity <activity
android:name=".ui.StartConversationActivity" android:name=".ui.StartConversationActivity"
android:label="@string/title_activity_start_conversation" android:label="@string/title_activity_start_conversation"
android:launchMode="singleTask"> android:launchMode="singleTop">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.SENDTO" /> <action android:name="android.intent.action.SENDTO" />
@ -109,7 +109,7 @@
android:name=".ui.SetPresenceActivity" android:name=".ui.SetPresenceActivity"
android:configChanges="orientation|screenSize" android:configChanges="orientation|screenSize"
android:label="@string/change_presence" android:label="@string/change_presence"
android:launchMode="singleTask" android:launchMode="singleTop"
android:windowSoftInputMode="stateHidden|adjustResize" /> android:windowSoftInputMode="stateHidden|adjustResize" />
<activity <activity
android:name=".ui.SettingsActivity" android:name=".ui.SettingsActivity"
@ -126,10 +126,10 @@
<activity <activity
android:name=".ui.ManageAccountActivity" android:name=".ui.ManageAccountActivity"
android:label="@string/title_activity_manage_accounts" android:label="@string/title_activity_manage_accounts"
android:launchMode="singleTask" /> android:launchMode="singleTop" />
<activity <activity
android:name=".ui.EditAccountActivity" android:name=".ui.EditAccountActivity"
android:launchMode="singleTask" android:launchMode="singleTop"
android:windowSoftInputMode="stateHidden|adjustResize" /> android:windowSoftInputMode="stateHidden|adjustResize" />
<activity <activity
android:name=".ui.ConferenceDetailsActivity" android:name=".ui.ConferenceDetailsActivity"
@ -149,7 +149,8 @@
android:windowSoftInputMode="stateHidden" /> android:windowSoftInputMode="stateHidden" />
<activity <activity
android:name=".ui.ShareWithActivity" android:name=".ui.ShareWithActivity"
android:label="@string/app_name"> android:label="@string/app_name"
android:launchMode="singleTop">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.SEND" /> <action android:name="android.intent.action.SEND" />