Add UNDEMOTE_METHOD to ContactsContract
Bug: 15593967 Change-Id: I9404107d65a0e6ac5f58dd5dd4b6b5df519ec20f
This commit is contained in:
@@ -7812,6 +7812,25 @@ public final class ContactsContract {
|
||||
public static final Uri UPDATE_URI = Uri.withAppendedPath(AUTHORITY_URI,
|
||||
"pinned_position_update");
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* The method to invoke in order to undemote a formerly demoted contact. The contact id of
|
||||
* the contact must be provided as an argument. If the contact was not previously demoted,
|
||||
* nothing will be done.
|
||||
* </p>
|
||||
*
|
||||
* <p>
|
||||
* Example:
|
||||
* <pre>
|
||||
* final long contactId = 10;
|
||||
* resolver.call(ContactsContract.AUTHORITY_URI, PinnedPositions.UNDEMOTE_METHOD,
|
||||
* String.valueOf(contactId), null);
|
||||
* </pre>
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public static final String UNDEMOTE_METHOD = "undemote";
|
||||
|
||||
/**
|
||||
* Default value for the pinned position of an unpinned contact. Also equal to
|
||||
* {@link Integer#MAX_VALUE}.
|
||||
|
||||
Reference in New Issue
Block a user