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

Commit 6e7c2c7c authored by Zheng Fu's avatar Zheng Fu Committed by Android (Google) Code Review
Browse files

Merge "Add backup_id column to raw_contacts, and hash_id column to data"

parents 39f273b9 9ea9a137
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -2193,6 +2193,16 @@ public final class ContactsContract {
         */
        public static final String CONTACT_ID = "contact_id";

        /**
         * Persistent unique id for each raw_contact within its account.
         * This id is provided by its own data source, and can be used to backup metadata
         * to the server.
         * This should be unique within each set of account_name/account_type/data_set
         *
         * @hide
         */
        public static final String BACKUP_ID = "backup_id";

        /**
         * The data set within the account that this row belongs to.  This allows
         * multiple sync adapters for the same account type to distinguish between
@@ -3985,6 +3995,13 @@ public final class ContactsContract {
         */
        public static final String MIMETYPE = "mimetype";

        /**
         * Hash id on the data fields, used for backup and restore.
         *
         * @hide
         */
        public static final String HASH_ID = "hash_id";

        /**
         * A reference to the {@link RawContacts#_ID}
         * that this data belongs to.