From ff18bbf83562b8a827a37c19cdc27e520786119e Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Sun, 27 Sep 2009 16:55:00 -0700 Subject: [PATCH] Separate API for vCards through openAssetFileDescriptor(). Previously we overloaded Contacts.CONTENT_URI to return vCard-formatted Contacts entries. To fix http://b/2138790 this is a separate API that returns a well-known MIME-type. Also helps fix http://b/2078399 by adding OFFICE_LOCATION. --- api/current.xml | 32 +++++++++++++++++++ .../android/provider/ContactsContract.java | 23 +++++++++++++ 2 files changed, 55 insertions(+) diff --git a/api/current.xml b/api/current.xml index 5efaed1a9a780..364c113ccf547 100644 --- a/api/current.xml +++ b/api/current.xml @@ -113927,6 +113927,17 @@ visibility="public" > + + + + + + Type: TEXT

+ */ + public static final String OFFICE_LOCATION = DATA9; + /** * Return the string resource that best describes the given * {@link #TYPE}. Will always return a valid resource.