Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d24679c authored by Yorke Lee's avatar Yorke Lee
Browse files

Update the value of PinnedPositions.UNPINNED to 0

Bug: 16403306
Change-Id: I6ff5a6051694245831db31db9d37ac0793eb0c32
parent acb4099d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24838,7 +24838,7 @@ package android.provider {
    ctor public ContactsContract.PinnedPositions();
    field public static final int DEMOTED = -1; // 0xffffffff
    field public static final java.lang.String UNDEMOTE_METHOD = "undemote";
    field public static final int UNPINNED = 2147483647; // 0x7fffffff
    field public static final int UNPINNED = 0; // 0x0
  }
  public static final deprecated class ContactsContract.Presence extends android.provider.ContactsContract.StatusUpdates {
+4 −6
Original line number Diff line number Diff line
@@ -8018,9 +8018,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 {
@@ -8043,10 +8042,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