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

Commit 9ea9a137 authored by Zheng Fu's avatar Zheng Fu
Browse files

Add backup_id column to raw_contacts, and hash_id column to data

Bug: 18930508
Change-Id: I244734720247c8db08129f7f19e6a5e823db1bb4
parent 3197c5da
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -2213,6 +2213,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
@@ -4005,6 +4015,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.