Added an extra for sharing a target rectangle extra.
Used to pass a location using screen coordinates when starting a SHOW_OR_CREATE_CONTACT activity.
This commit is contained in:
@@ -1522,6 +1522,15 @@ public class Contacts {
|
||||
public static final String EXTRA_CREATE_DESCRIPTION =
|
||||
ContactsContract.Intents.EXTRA_CREATE_DESCRIPTION;
|
||||
|
||||
/**
|
||||
* Optional extra used with {@link #SHOW_OR_CREATE_CONTACT} to specify a
|
||||
* dialog location using screen coordinates. When not specified, the
|
||||
* dialog will be centered.
|
||||
*
|
||||
* @hide pending API council review
|
||||
*/
|
||||
public static final String EXTRA_TARGET_RECT = ContactsContract.Intents.EXTRA_TARGET_RECT;
|
||||
|
||||
/**
|
||||
* Intents related to the Contacts app UI.
|
||||
*/
|
||||
|
||||
@@ -1374,6 +1374,13 @@ public final class ContactsContract {
|
||||
public static final String EXTRA_CREATE_DESCRIPTION =
|
||||
"com.android.contacts.action.CREATE_DESCRIPTION";
|
||||
|
||||
/**
|
||||
* Optional extra used with {@link #SHOW_OR_CREATE_CONTACT} to specify a
|
||||
* dialog location using screen coordinates. When not specified, the
|
||||
* dialog will be centered.
|
||||
*/
|
||||
public static final String EXTRA_TARGET_RECT = "target_rect";
|
||||
|
||||
/**
|
||||
* Intents related to the Contacts app UI.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user