Mms: No delivery check-mark if both delivery and read report enabled

If read report enabled, it always displays "detail" icon on UI, no
matter what if delivery report or read report enabled.

Change the check-mark avaiable only for delivery report.
If only "read report" enabled, just show "detail" icon instead.

Change-Id: I68306ede310fddc949cd8d2c1df865f634aeae62
CRs-Fixed: 749650
Mms: Fix Can't check delivery report from msg list

Does not have an option for displaying delivery reports.

Add an "delivery report" option at ModeCallback's "check more"
menu in compose messages activity.

CRs-Fixed: 741009

Change-Id: Iac4bf11cf0bcd419f2753ce70dd210d1ed2f3bd9
Mms: The Slideshow time display incomplete on Edit Slideshow

text_preview_bottom is too long and push a part of duration_text
out of screen. And the "android:ellipsize="marquee"" is not working
because text_preview_bottom can't get focus.

Use RelativeLayout to Make sure the duration text be displayed
completely and use android:ellipsize="end" instead of 'marquee'.

CRs-Fixed: 745995

Change-Id: I2ae3014671d11dc0c40a5f5d3e988212f6ffa77a
Mms: Fix will disable "delete old message" when restore default setting

The preferences.xml set the pref_key_auto_delete default value as "false".

Change the pref_key_auto_delete default value to "true".

CRs-Fixed: 745318

Change-Id: I25c4d4a8fadf36c6276fd04092205f68c383b71e
Mms: Fix can not select MMS when attach with audio/video/sildeshow.

The button and item click listener intercept item long touch event.

Make item could get long touch event.

CRs-Fixed: 740060

Change-Id: If2cd10418371e115ec9bf738b4adfacb49d7e544
Mms: Fix no "Deselect all" option when select msgs

SelectionMenu's selcetAllMode is not set correctly in
ComposeMessgaeActivity.ModeCallback.

Using the getListView().getCount() and getListView().getCheckedItemCount()
for checking/setting the "selectAllMode" value directly.

CRs-Fixed: 742791

Change-Id: I7528d11053619c1d9ae2656d5c88a21cbe0aae41
Mms: Fix can't cancel downloading MMS when tap "OK"in confirm box.

Download state is changed to un-started after canceled MMS, and MMS will
show "Cancel" button both the state of un-started and downloading.

Change download state to transient failure if cancel download.

CRs-Fixed: 743500

Change-Id: I3b9789714b3e7bd4b0f17816bca7fe3f0f1468de
Mms: Fix full subject notification can't prompt if input to limitation

Don't have prompt function when subject is full.

Add prompt function and distinguish Chinese from English.

CRs-Fixed: 745996

Change-Id: I5e9d3152a5f0b5dd4c1427bddc0589cd658cb731
Merge "Mms: No delivery check-mark if both delivery and read report enabled"
Merge "Mms: Fix Can't check delivery report from msg list"
Merge "Mms: Fix no "Deselect all" option when select msgs"
Merge "Mms: Fix will disable "delete old message" when restore default setting"
Merge "Mms: The Slideshow time display incomplete on Edit Slideshow"
Merge "Mms: Fix can not select MMS when attach with audio/video/sildeshow."
Mms: Fix the Text display both on the top and bottom

The former bottom text view is not cleaned up after layout changed.

Update the text view according with the slide-layout setting after
pdu loaded in MessageListItem.java.

CRs-Fixed: 730578

Change-Id: Ieda4ca6611f2d7c84a5839cbf1894f03a86938bb
Mms: Fix send icon display gray after delete subject

Not call updateSendButtonState() after delete subject editor.

Call updateSendButtonState() in mSubjectKeyListener.onKey to update
send button state.

CRs-Fixed: 748195

Change-Id: I88d39b6e90439b6bba5cb4f73e6d7c98668e051a
Mms : Fix MessageWidget title doesn't update in RemoteView

Fix MessageWidget displays on homescreen don't change with system language.
The text view doesn't update in remote view is because it is setted
freezesText to true. When this attribute is setted, the text view will
include its current complete text inside of its frozen icicle in addition
to meta-data such as the current cursor position. After remove this
attribute, the title updated when language change.

CRs-Fixed: 661319

Change-Id: Idcfa377b090fd1c2689450705d9260a984dc59f1
Mms: Fix can't refresh receipent name

Contact cache isn't updated after contacts database changed and
the receipent name can not be get from Contact.getName().

Following the change or CR652842,
Add ContentObserver for change of contacts database.
Update sim messages after the cache updated.

CRs-Fixed: 745992

Change-Id: Ief93a95ca0b94123474e590c2ce1626554a97f15
Mms: Fix crash when adding an audio from external audio

It is the NullPointerException which cause application crash.
In this case, when getting uri, it only get ParcelableExtra
from data, but MusicPicker set result uri by setData method.

Check the uri after getParcelableExtra, if the uri is null,
get it by getData method directly.

CRs-Fixed: 749622

Change-Id: I166b7fa801e0f1e66f72d6f1accddf10792bb323
Merge "Mms: Fix send icon display gray after delete subject"