From 7035f2be61ecf70eea78c147c84fd50c893d107a Mon Sep 17 00:00:00 2001 From: Brian Attwell Date: Wed, 25 Feb 2015 20:06:08 -0800 Subject: QuickContacts can prioritize phone mimetype. Part1 Define the ContactsContract for a new QuickContact extra. This can be used to tell QuickContacts to prioritize a given mimetype. Bug: 18391003 Change-Id: Ie5a93ad9e1919f470a638d4235d91fe337cb5ca3 --- api/current.txt | 4 ++++ api/system-current.txt | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'api') diff --git a/api/current.txt b/api/current.txt index c7898e4..9c665f0 100644 --- a/api/current.txt +++ b/api/current.txt @@ -25049,9 +25049,12 @@ package android.provider { ctor public ContactsContract.QuickContact(); method public static void showQuickContact(android.content.Context, android.view.View, android.net.Uri, int, java.lang.String[]); method public static void showQuickContact(android.content.Context, android.graphics.Rect, android.net.Uri, int, java.lang.String[]); + method public static void showQuickContact(android.content.Context, android.view.View, android.net.Uri, java.lang.String[], java.lang.String); + method public static void showQuickContact(android.content.Context, android.graphics.Rect, android.net.Uri, java.lang.String[], java.lang.String); field public static final java.lang.String ACTION_QUICK_CONTACT = "android.provider.action.QUICK_CONTACT"; field public static final java.lang.String EXTRA_EXCLUDE_MIMES = "android.provider.extra.EXCLUDE_MIMES"; field public static final java.lang.String EXTRA_MODE = "android.provider.extra.MODE"; + field public static final java.lang.String EXTRA_PRIORITIZED_MIMETYPE = "android.provider.extra.PRIORITIZED_MIMETYPE"; field public static final int MODE_LARGE = 3; // 0x3 field public static final int MODE_MEDIUM = 2; // 0x2 field public static final int MODE_SMALL = 1; // 0x1 @@ -38747,6 +38750,7 @@ package android.widget { method public void setImageToDefault(); method public void setMode(int); method public void setOverlay(android.graphics.drawable.Drawable); + method public void setPrioritizedMimeType(java.lang.String); field protected java.lang.String[] mExcludeMimes; } diff --git a/api/system-current.txt b/api/system-current.txt index f274a0d..effbc9d 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -26648,9 +26648,12 @@ package android.provider { ctor public ContactsContract.QuickContact(); method public static void showQuickContact(android.content.Context, android.view.View, android.net.Uri, int, java.lang.String[]); method public static void showQuickContact(android.content.Context, android.graphics.Rect, android.net.Uri, int, java.lang.String[]); + method public static void showQuickContact(android.content.Context, android.view.View, android.net.Uri, java.lang.String[], java.lang.String); + method public static void showQuickContact(android.content.Context, android.graphics.Rect, android.net.Uri, java.lang.String[], java.lang.String); field public static final java.lang.String ACTION_QUICK_CONTACT = "android.provider.action.QUICK_CONTACT"; field public static final java.lang.String EXTRA_EXCLUDE_MIMES = "android.provider.extra.EXCLUDE_MIMES"; field public static final java.lang.String EXTRA_MODE = "android.provider.extra.MODE"; + field public static final java.lang.String EXTRA_PRIORITIZED_MIMETYPE = "android.provider.extra.PRIORITIZED_MIMETYPE"; field public static final int MODE_LARGE = 3; // 0x3 field public static final int MODE_MEDIUM = 2; // 0x2 field public static final int MODE_SMALL = 1; // 0x1 @@ -41206,6 +41209,7 @@ package android.widget { method public void setImageToDefault(); method public void setMode(int); method public void setOverlay(android.graphics.drawable.Drawable); + method public void setPrioritizedMimeType(java.lang.String); field protected java.lang.String[] mExcludeMimes; } -- cgit v1.1