Add an extra to allow specifying the account for creation of new contacts

Change-Id: I6bbf1025e35bbc1d2acff747b08c07530bec2b8c
This commit is contained in:
Daniel Lehmann
2010-10-21 20:40:11 -07:00
parent 627d836fff
commit cde1ac6006

View File

@@ -6696,6 +6696,18 @@ public final class ContactsContract {
* </pre>
*/
public static final String DATA = "data";
/**
* Used to specify the account in which to create the new contact.
* <p>
* If this value is not provided, the user is presented with a disambiguation
* dialog to chose an account
* <p>
* Type: {@link Account}
*
* @hide
*/
public static final String ACCOUNT = "com.android.contacts.extra.ACCOUNT";
}
}
}