Long tap on messaging thread second time shows ANR

Bug 6247313

Don't go into PDU code unless we've got an mms message.

Change-Id: I28965ac7390aa65d35a8f09dc25b3edc582e3427
Calling MessagingNotification.updateSendFailedNotification results in a DB query on the UI thread

Bug 6248511

An AsyncTask comes to the rescue. Do the query in the
background and do the UI work on the UI thread.

Change-Id: Id27790e08ba763df30a86fd0d4c3a0531e01fb8e
merge in jb-release history after reset to master
Use the new larger notifications APIs to show an entire SMS.

Multiple messages will still be aggregated into a single
(small) notification. TODO: use templates that have not yet
been designed to show a list of unread threads, or to show
the full text of the most recent message alongside a summary
of the rest of your inbox.

Change-Id: Ia7c7adf6230daba95ff645ffeca49ff7903bb0f2
Don't load draft on the UI thread

Bug 2475394

Load the draft off of the UI thread and then show
the editor. In most cases, you can't see any difference.

Change-Id: I7c2aedb0628a6efcd6355f888b4c9f6bb19fcb45
Messaging App crashes/phone becomes unresponsive

Bug 6175605

Threads were getting created out of control. Greatly
simplify markAsRead and associated code. Use an
AsyncTask (which uses a thread pool) than a bare
naked thread.

Change-Id: Icd1b56a36f45c5d47f30d071fb967b3dca8a6c9b
Merge "Messaging App crashes/phone becomes unresponsive"
Messaging widget display looks weird

Bug 6218848

Now use the same background as the email widget.

Change-Id: I1bd4892edcb67571a553568fdcf0b17acd2f822c
Scrolling through a Compose Message Activity message thread is not 60 fps

Bug 5928605

Turn off the custom border that's preventing us from hitting
60 fps. We'll come up with a new design in b/6179069

Change-Id: Ib72e2556875fd1baa52e8eee7f70d065ad25882c
Merge "Messaging widget display looks weird"
Merge "Use the new larger notifications APIs to show an entire SMS."
merge in jb-release history after reset to master
Multiple Recipient Failure in MMS

Bug 6062623

The following command fails:
adb shell am start -a android.intent.action.SENDTO -d “sms:+15178923456,+15174356789?body=MessageText”
The app needs to replace commas with semiscolons.

Change-Id: I2c5c349065079f0dcbb12817fec5fe6d3b1a85df
merge in jb-release history after reset to master
Remove message notification while in conversation ui

While composing message, on data set changed, such as new
incoming message, remove from notification bar any
notification regarding the current conversation.

While display list of conversations, on query complete, such
as new incoming message, remove from notification bar any
notification regarding the whole list of conversations.

Change-Id: I806d4a921ed13af3db07f1e55b0fc5ba021ea0ad
Signed-off-by: gilles le brun <gil.lebrun@orange.com>
Merge remote-tracking branch 'goog/ics-aah'
ANR on the Messaging application, when editing the attachment

Bug 5973755

When slideshows are involved, there's the possibility of an ANR because
the slideshow is saved on the UI thread. With this change, the heavy-duty-
disk-writing work is done in a background thread. If the task takes longer
than a half second, a modal progress dialog is displayed. The various
target activities, such as SlideEditorActivity and SlideshowEditActivity,
still read/save the PDU on the UI thread. They should use the PduLoaderManager.
A separate bug has been filed.

Change-Id: I384968d406fe10e192abf1614e3ce0b27f20c93d
Empty forward draft not removed

Bug 6222154

A number of problems to fix for this relatively innocent looking bug.
First, the PDU was getting persisted on the UI thread. Second, persisting
a PDU automatically creates a thread, but on the forwarded message side,
the thread id wasn't getting set. Since the thread id was zero, the
working message code didn't think there was any draft to delete.

Change-Id: I3021b864bdf9876eb8c66e4048295516b085406f
Notifications do not dismiss

Bug 6298996

A line of code got eliminated in Conversation.markAsRead(). Fixed!

Change-Id: I528930f5dd8424147d97aa0ad3da9bf0590a8f28
Import translations. DO NOT MERGE

Change-Id: I05a01a483452f13599f3b2ce7eb07faa20765015