MMS: Support adding more attachments by clicking attach icon

Add attachment icon will be gone after add attachment.

Always show add attachment icon, every time click this icon, create a
new slide.

Change-Id: Ibdf2f7c28acef16fc4285a58480ea0a3c90d98fb
Mms: Add copy URL function in message.

Add a function to copy URL into clipboard in message item menu.

Change-Id: I888c6ab8b68dbeec662df6aed91c97804fdacdeb
Mms-WapPush: add WapPush support in Mms

- Add WapPush handler in Mms.
- Show WapPush message in the Mms.
- Add WapPush switch button.

Change-Id: I5387882302388019769f70df90f32d332069a7ed
MMS: Support SMS full indicator

Give user an indicator when there is no enough memory to receive
the SMS.

Change-Id: I38a7980cb6b304bd2a1fecdf381fb9f9e8e17739
Mms: Reject oversized MMS and clean memory indicator

If the terminal receive mms when memory is full or mms
is too large,the mms cannot be received but it will not
have any indicators.

1.If the incoming mms is too large,send a transient
  failure state to mmsc,do not download the mms and
  set retry alarm.Prompt a mms is too large dialog
  when user tap download button.
2.If the terminal have not enough memory for the
  incoming mms,send a transient failure state to mmsc,
  do not download the mms and set retry alarm.Prompt a
  clean memory dialog when user tap download button.

Change-Id: I6e34dd95c9a185fba25c04357b421e92bd5600de
MMS: Add support for query memory usage of the terminal

Query memory usage of the terminal, including:
1. Counts of messages in index/sent/outbox/drafts.
2. Used/unused space by MMS and total space in phone.

Change-Id: I35eaf13ee3b9014738a69490a6687215e3c434ea
(cherry picked from commit 4249b13ad53f6ef51f892505bfb299fa9edc4da1)
MMS: Fix Phone can not search SMS/MMS via phone number and contact name

In current mode, the Mms application does not support classify of search
mode.

Create a new SearchActivityExtend Activity and add function of classify of
search mode in TelephonyProvider for Mms, to achieve extend search functon
by name, number and content.

Change-Id: I855b0b4d33ffa034bb9a9051eef5aa84cd09795b
Mms: Show message count in folder mode

Init mListAdapter independently if first time enter mailbox.
Show message count if cursor is not empty.

Change-Id: Ib933128515214a335cc29bc73824e64f31ee191e
(cherry picked from commit ec729a83778e06df43b963834a369a3838d31ece)
MMS: Add support for sending messages to contact groups

Add a new activity to show the contacts groups info, and can select one
or more group and send SMS/MMS to the selected group members.

Change-Id: I71840df41e4d0ca0f492cdcae979448cc1354fae
Mms: Set Mms validity duration

The terminal can't set Mms validity duration.

Set validity duration by UI during Mms send. Users cant retrieve
the message from message center after expiry.

Change-Id: I7f7948e502b5bf4d7151efda807d919e09fef8f4
MMS: Show two send buttons with SIM indicator

Show two send message buttons with sim indicator
in conversation and send message directly via
press send button.
It will hide the bottom panel if message has slideshow, because it has
send button in slideshow view. But it is not reasonable in two buttons
mode.
Show slot1/slot2 button in the bottom and hide text editor when send
slideshow. Also hide the send button in slideshow view and change send
item in menu by different slot.

CRs-Fixed: 517564 517565 517566 517567 580433

Change-Id: I0cec00d8de407d77307d4265ee8b5fe3b39c5aa3
MMS: Support Content extraction related functions

1.Add an activity to deal with the URL click response.
  It will skip to the activity and deal with the click response in
  the activity.
2.Fix options dialog will pops up again after press load url.
  Use MessageUtils.onMessageContentClick to deal with message
  onClick event.
  (cherry picked from commit 519c2c9126c5ad98aabc50caec0356061473b106)

Change-Id: Iea8542f4132e384b54e5a6154c4d42ebbc0f528e
Mms: Enable some configuration that hidden before

After configuration file merged, enable some configuration that
hidden before to make feature work normal.

Change-Id: I8f08be2fd252c1ceef2a61196e7a1f37981fec16
MMS: Support zooming and normal mode for Mms

- Add zoom in/out function when view MMS with text contents.
- Add view normal mode function.
- Save SMS address in datebase.

Add other CRs-Fixed: 604983 651488 664835
(cherry picked from commit 87626698334fd9d6bb271ae3250fea817ee192df)
(cherry picked from commit 2a74e8ecffac7563c2cb2cadf737f1459fd1b68d)
(cherry picked from commit 03faaf27320ba015ee8b220844567dcd3c698859)

Change-Id: I356733ccb67ea3d5329f1eb4b00411ceaf700d5f
MMS: Support to resend failed messages in folder mode

- Display one error icon after message body if failure.
- Reload failed messages by click in folder mode.

Add CRs-Fixed: 620864
(cherry picked from commit aa838316b06354c658e6dd999ff2344dfb4f46eb)

Change-Id: Iaa98222ac5f556c5b31a586197815bd14f9f2c97
MMS: Support batch operation

1 Support multiple select and delete conversation.
2 Support multiple select and delete SMS in one conversation.
3 Support forwarding conversation.

Change-Id: I67da1e81c1360a293863e68bcbc34df1ca9dd61f
MMS: Enhance UI/UX batch operation

Enhance batch operation in compose message ui.

When long press message item, enter multi selection
mode, select message items, click icon or menu to
forward, delete, copy text, copy to SIM card,
lock/unlock and check detail.

Change-Id: I98fc84b8c67718a0670b8ecf32237029cabbbee7
CRs-Fixed: 671092
MMS: Support message details feature

1, Add "Message details" for the title and call icon.
2, Remove the “View details” in overflow options.
3, Add details at the bottom of Message details content.
4, Move additional information below message content and the sender
   number here should not be highlighted (can’t be extracted).
5, Change background color, line space, font size and remove
   call select dialog.
6, Support view previous/next message by swapping left/right.

Change-Id: Ifde2547b68247822fe393284ba1656beab643bcb
MMS UI/UX Enhancement

Add "add to contacts" option for email address and "copy url" option
for web link in Message content.

When click Message content, if has email address inside, it will
show email address with options send email and add to contacts for
futher operation. If has web link, it will show connect, save to
bookmark and copy url options for futher operation.

Change-Id: I92ecccc1a5e9be41eb9a7ca0e010ee0988e45903
MMS UI/UX enhancement

Enhance batch operation in manage SIM messages UI.

When long press message item, enter multi selection
mode, select message items, click icon or menu to
forward, delete, reply, copy to phone memory.

Change-Id: If28f9870c5284fb21aaea265f2b80e92cb0a35fd