Merge "Update the value of PinnedPositions.UNPINNED to 0" into lmp-dev

This commit is contained in:
Yorke Lee
2014-07-25 21:21:38 +00:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 7 deletions

View File

@@ -8033,9 +8033,8 @@ public final class ContactsContract {
*
* <p>
* By default, unpinned contacts will have a pinned position of
* {@link PinnedPositions#UNPINNED}, or {@link Integer#MAX_VALUE} (2^31 - 1). Client-provided
* pinned positions can be positive integers that range anywhere from 0 to
* {@link PinnedPositions#UNPINNED}.
* {@link PinnedPositions#UNPINNED}. Client-provided pinned positions can be positive
* integers that are greater than 1.
* </p>
*/
public static final class PinnedPositions {
@@ -8058,10 +8057,9 @@ public final class ContactsContract {
public static final String UNDEMOTE_METHOD = "undemote";
/**
* Default value for the pinned position of an unpinned contact. Also equal to
* {@link Integer#MAX_VALUE}.
* Default value for the pinned position of an unpinned contact. Also equal to 0.
*/
public static final int UNPINNED = 0x7FFFFFFF;
public static final int UNPINNED = 0;
/**
* Value of pinned position for a contact that a user has indicated should be considered