New interface to pick a contact as attachment
New ContactMediaChooser allows the user to pick a contact from contacts apps as attachment. Test: Manual Change-Id: Idb00cd8a3164a3cac859947affd5cbcc7e41b8c2 Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
This commit is contained in:
@@ -47,6 +47,9 @@ public abstract class UIIntents {
|
||||
// The request code for picking a media from the Document picker.
|
||||
public static final int REQUEST_PICK_MEDIA_FROM_DOCUMENT_PICKER = 1400;
|
||||
|
||||
// The request code for picking a contact card from existing Contacts apps.
|
||||
public static final int REQUEST_PICK_CONTACT_CARD = 1500;
|
||||
|
||||
// Indicates what type of notification this applies to (See BugleNotifications:
|
||||
// UPDATE_NONE, UPDATE_MESSAGES, UPDATE_ERRORS, UPDATE_ALL)
|
||||
public static final String UI_INTENT_EXTRA_NOTIFICATIONS_UPDATE = "notifications_update";
|
||||
@@ -166,12 +169,19 @@ public abstract class UIIntents {
|
||||
public abstract void launchAddContactActivity(final Context context, final String destination);
|
||||
|
||||
/**
|
||||
* Launch an activity to show the document picker to pick an image/video.
|
||||
* Launch an activity to show the document picker to pick an image/video/audio.
|
||||
*
|
||||
* @param fragment the requesting fragment
|
||||
*/
|
||||
public abstract void launchDocumentImagePicker(final Fragment fragment);
|
||||
|
||||
/**
|
||||
* Launch an activity to show the contacts list to pick one.
|
||||
*
|
||||
* @param fragment the requesting fragment
|
||||
*/
|
||||
public abstract void launchContactCardPicker(final Fragment fragment);
|
||||
|
||||
/**
|
||||
* Launch an activity to show people & options for a given conversation.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user