Mms: Fix no resend popup option when long press the send failure message.

No add this function in multiple selection FR.

Add resending failed message function.

CRs-Fixed: 750799

Change-Id: I4a4b57f3051c102d556b843abed0c0fa4dc9adce
MMS: Fix force close when select SMS and back to home.

When back to Mms, choice mode is not finish, updateStatics() get
the cursor is null.

Exit multi-select mode and remove all selections in onStop().

CRs-Fixed: 755945

Change-Id: I82f5f5ee8cd7c015d14fc9500553bc23fd79e685
Mms: Fix Mms crash when preview slideshow without receiver.

When preview the slideshow, Mms will first query
to obtain cursor. If without receiver, the obtained
cursor's count is 0. Uesed the cursor to show message
details will cause crash.

Add cursor's count check, before show message details.

CRs-Fixed: 753094

Change-Id: I9177a0ea739d9d77abafaa850e2d26d749b5bb24
Mms: Fix Multi-select mode of SIM card SMS is error after unlocking screen

No item is unchecked after unlocking screen, but choice mode is not
be finished.

Exit multiple select mode and remove all selections when on paused.

CRs-Fixed: 745316

Change-Id: I30e7e3c6a783e99cd823df9240b99fbaa6d5e889
MMS: Fix forwarding MMS size over 300K.

The forwarding MMS will auto add forward prefix string,
so mms size will over 300KB.

Add max size check before forwarding message.

CRs-fixed: 661880

Change-Id: I47f1f51329f2d08994fd21cb0bf0057af234065a
Mms: Fix MMS crash when recipients contain '%'.

If recipients contain '%', when conversation use them to
format output log, It will cause carsh.

Change '%' in recipients to '%%',
before conversation format output log.

CRs-Fixed: 757796

Change-Id: Ic4797c9f8077c2470cfbe4c63236d83af5518c5a
MMS: Fixed DUT sent one MMS but REF received two

It takes about 100ms from finishing query pending mms to adding
to process queue. If the MO/MT mms finish in that time, it will be
removed from process queue and then it will passed the duplicate
transaction check. In this case, DUT sent MMS twice.

Don't start transaction again when connectivity changed if service
is not idle.

CRs-Fixed: 746651

Change-Id: I0b41d17acf4015781d94cc6c8215e5d931cb627d
RP: Mms's notification sound can't be overlaid by carrier

Add "content://settings/system/notification_sound" to
customize.xml in order to be overlaid by carrier.

CRs-Fixed: 761741

Change-Id: I863a7080d6b08226479d6fccad2681a632310363
Merge "Mms: Fix no resend popup option when long press the send failure message."
Merge "MMS: Fix force close when select SMS and back to home."
Merge "Mms: Fix Multi-select mode of SIM card SMS is error after unlocking screen"
Merge "Mms: Fix Mms crash when preview slideshow without receiver."
Merge "MMS: Fix forwarding MMS size over 300K."
Merge "RP: Mms's notification sound can't be overlaid by carrier"
Mms: Fix Mms crash when add audio for slideshow.

The audio uri from intent data is null pointer caused crash.

Add null pointer check for audio uri before add audio to
slideshow. When uri is null, throw MmsException to make Mms
show add media failed toast.

CRs-Fixed: 761661

Change-Id: I82f268a396a5b6f93f12eb84785b134dd3bfde4a
Mms: Fix that can't show recipient address when open draft

Sometimes the conversation's ThreadId is zero but queryed tid
is right, so activity did not init the top recipients view.

Add a check source for check the conversation's ThreadId and
dump the return logic.

CRs-Fixed: 761662

Change-Id: Ie5539ebc223aa6dafccf672c00d9364da7e858ff
Mms: Fix the vcf file name display messy code

The function to obtain the vcf file name is not
fit when the name of vcf file is Chinese or Japanese.

Change the function to obtain the vcf file name.

CRs-fixed: 761678

Change-Id: I63d4bfa6eb3a166a9477fe59828348e956a64261
Mms: Fix Can not pop-up send/call box option every time easily

Focus view will first request focus and won't take click actions.

Set the TextView's focusable and focusableInTouchMode to false.

CRs-Fixed: 742929

Change-Id: I8fef2c34e1a7c87ff02bac0d314dffc1a42a497f
Mms: Fix can't select MMS notification by long press it.

Item's long click event intercepts its multiple select event.

Don't enable item's long click event.

CRs-Fixed: 758406

Change-Id: I23da5eeaa1d05f0872f64e83df548794b2be9102
Merge "Mms: Fix Mms crash when add audio for slideshow."