diff options
author | Brian Attwell <brianattwell@google.com> | 2015-02-25 20:06:08 -0800 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2015-02-26 11:47:25 -0800 |
commit | 7035f2be61ecf70eea78c147c84fd50c893d107a (patch) | |
tree | 0306223e34b1bc55294e675238939e03d1db8c09 /api | |
parent | cff41ae3635170b93acca5bfd2813b719e060e0f (diff) | |
download | frameworks_base-7035f2be61ecf70eea78c147c84fd50c893d107a.zip frameworks_base-7035f2be61ecf70eea78c147c84fd50c893d107a.tar.gz frameworks_base-7035f2be61ecf70eea78c147c84fd50c893d107a.tar.bz2 |
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
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 4 | ||||
-rw-r--r-- | api/system-current.txt | 4 |
2 files changed, 8 insertions, 0 deletions
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; } |