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

Commit c37ba12c authored by Zheng Fu's avatar Zheng Fu
Browse files

Add constants for ContactMetadataProvider.

Bug:20537162
Change-Id: I3febd47a16a440466b0bafe3cec17a6dfa1535e7
parent 891ad60a
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -9062,5 +9062,15 @@ public final class ContactsContract {
         */
         */
        public static final Uri CONTENT_URI = Uri.withAppendedPath(METADATA_AUTHORITY_URI,
        public static final Uri CONTENT_URI = Uri.withAppendedPath(METADATA_AUTHORITY_URI,
                "metadata_sync");
                "metadata_sync");

        /**
         * The MIME type of {@link #CONTENT_URI} providing a directory of contact metadata
         */
        public static final String CONTENT_TYPE = "vnd.android.cursor.dir/contact_metadata";

        /**
         * The MIME type of a {@link #CONTENT_URI} subdirectory of a single contact metadata.
         */
        public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/contact_metadata";
    }
    }
}
}