The draft still exists after forwarding mms to the same sender

Forward message will be saved as draft before sent, and it will reload
this draft after come back to the current thread.

Do not load the draft for the same recipient address when forwarding
mms.

Change-Id: I2cc873a9bcbdf0e6481391a0237eb1d19f40d137
CRs-Fixed: 568255
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Display message type properly for MMS and SMS

When a message is showed details, android will search it in mms
& sms list according to its message id. But sometime the message
id of sms message is the same with that of mms message and the
special mms message is before the sms message in mms & sms list,
so the sms is displayed as mms.

To fix this bug, message type is to be checked at the same time.

Change-Id: I35f8586bf97a553a53424adb2458a8c7fd9ba0e9
CRs-Fixed: 568258
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Resize the image in background

Decoding and resizing of the image is done in
Adapter-getView method which runs in the main
thread. As a result edit screen resumes after
few seconds, mean time if user flings on that
activity it leads to ANR.

From getView method, adopt lazy loading - spawn
the thread which will decode and resize the
image, upon receiving the requested resized-image
set the image to the view.

Change-Id: I7500afc2fcc4fd7bed8f256d19cbc22ee9baeda0
CRs-Fixed: 550421
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
MMS: Fix The slideshow can't be shown in the message

After the MessageItem Pdu Loaded, the MessageItem's AttachmentType
might have changed. So precisely, it's not the same MessageItem
anymore.Since it's not the same MessageItem, we should setImage,
and the slideshow will be shown normally.

After Pdu Loaded, when bindCommonMessage again, the sameItem
argument should be false, because it's not the same MessageItem
anymore.

CRs-Fixed: 548610

Change-Id: Id25bdfb1acc954d244ec3a8585fa1b0daa379d0f
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Fix to return to previous activity when a sms/mms notification is selected.

When an MMS/SMS is received, the TaskStack is rebuilt
when displaying the notification.
Do not alter the TaskStack.

Change-Id: I8302ab5a4627f423ba787a327ee757165a4f0e83
CRs-Fixed: 580341
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>