Allow creation of new contacts when picking.
Ben Komalo [Fri, 21 Jan 2011 19:15:49 +0000 (11:15 -0800)]
Bug: 3377048
Change-Id: I9f819bc6c3fa4111d0f5a510d8e2693f71c85e33

src/com/android/apps/tag/record/VCardRecord.java

index 8028600..32641a9 100644 (file)
@@ -144,8 +144,8 @@ public class VCardRecord extends ParsedNdefRecord implements OnClickListener {
     }
 
     private static Intent getPickContactIntent() {
-        Intent intent = new Intent(Intent.ACTION_PICK);
-        intent.setType(ContactsContract.Contacts.CONTENT_TYPE);
+        Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
+        intent.setType(ContactsContract.Contacts.CONTENT_ITEM_TYPE);
         return intent;
     }