Not all MMS is sent or received.

When there are multiple sending and receiving transactions,
there is possibility if a case in which there are two
transactions in processinglist and only one will be
processed.

This patch adds the transaction to the pending list when
there is already a transaction in processing state and also
doesn't disconnect mms connectivity if there are
transactions in processing state.

Change-Id: I77c60726dbdb43280057bd3db60d9649b15a17f2
Signed-off-by: Rui Wang <ruix.wang@intel.com>
Signed-off-by: Arun Ravindran <arun.ravindran@intel.com>
Signed-off-by: Matt Rinsch <gfunkmonk@gmail.com>
Add a type check to get the right message.

The messages are divided into two classes: mms and sms.
Maybe one mms and sms have the same id. Add a type check
in getCursorForItem function to get the right message.

Change-Id: I48cbc9e437b1c33788efceff49acc679151dcb63
Signed-off-by: Rui Wang <ruix.wang@intel.com>
Signed-off-by: Bin Yang <bin.y.yang@intel.com>
Signed-off-by: Matt Rinsch <gfunkmonk@gmail.com>
Avoid ConversationList/ComposeMessage activity leaks

First, ConversationList activity leak, Contact.mListeners are only unbound
when ListItemViews are recycled, without considering the activity exit case
or message delete case.
Second, ComposeMessage activity leak: use SoftReferences instead of
HardReferences for the slideshow cache.

Change-Id: Ic235b31403b26aba16bf6b8b51bff7b4c6f68d98
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
Signed-off-by: Matt Rinsch <gfunkmonk@gmail.com>
Re-enable "Download" if auto-download is off

Messaging will skip downloading of Mms if auto-download
is off. Re-enable "Download" to let user can retry to
download manually.

Change-Id: I0b7b4c6b5ea1428e390fc3fc87832a89cb3821c9
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Signed-off-by: Matt Rinsch <gfunkmonk@gmail.com>