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

Commit 28f101c7 authored by Tingting Wang's avatar Tingting Wang Committed by Android (Google) Code Review
Browse files

Merge "Add defaultAccount related API to ContactsContract."

parents 8900b4a8 8fd17c67
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -34834,6 +34834,7 @@ package android.provider {
  }
  public static final class ContactsContract.Settings implements android.provider.ContactsContract.SettingsColumns {
    field public static final String ACTION_SET_DEFAULT_ACCOUNT = "android.provider.action.SET_DEFAULT_ACCOUNT";
    field public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/setting";
    field public static final String CONTENT_TYPE = "vnd.android.cursor.dir/setting";
    field public static final android.net.Uri CONTENT_URI;
+16 −0
Original line number Diff line number Diff line
@@ -8588,6 +8588,15 @@ public final class ContactsContract {
         * Type: INTEGER
         */
        public static final String UNGROUPED_WITH_PHONES = "summ_phones";

        /**
         * Flag indicating if the account is the default account for new contacts. At most one
         * account has this flag set at a time. It can only be set to 1 on a row with null data set.
         * <p>
         * Type: INTEGER (boolean)
         * @hide
         */
        String IS_DEFAULT = "x_is_default";
    }

    /**
@@ -8681,6 +8690,13 @@ public final class ContactsContract {
         * The MIME-type of {@link #CONTENT_URI} providing a single setting.
         */
        public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/setting";

        /**
         * Action used to launch the UI to set the default account for new contacts.
         */
        @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
        public static final String ACTION_SET_DEFAULT_ACCOUNT =
                "android.provider.action.SET_DEFAULT_ACCOUNT";
    }

    /**