mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Use FLAG_ACTIVITY_NEW_TASK when starting activity
for SHOW_OR_CREATE_CONTACT.
This commit is contained in:
parent
32d03d7cbf
commit
daf92a7b95
@ -65,6 +65,7 @@ public class ContactsSdk3_4 extends com.fsck.k9.helper.Contacts {
|
||||
final Uri contactUri = Uri.fromParts("mailto", email.getAddress(), null);
|
||||
|
||||
final Intent contactIntent = new Intent(Contacts.Intents.SHOW_OR_CREATE_CONTACT);
|
||||
contactIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
contactIntent.setData(contactUri);
|
||||
|
||||
// Pass along full E-mail string for possible create dialog
|
||||
|
@ -69,6 +69,7 @@ public class ContactsSdk5 extends com.fsck.k9.helper.Contacts {
|
||||
final Uri contactUri = Uri.fromParts("mailto", email.getAddress(), null);
|
||||
|
||||
final Intent contactIntent = new Intent(Intents.SHOW_OR_CREATE_CONTACT);
|
||||
contactIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
contactIntent.setData(contactUri);
|
||||
|
||||
// Pass along full E-mail string for possible create dialog
|
||||
|
Loading…
Reference in New Issue
Block a user