Fix for wrong selection of sms template

This patch fix a wrong selection of the sms template when the user performs two different gestures

Change-Id: I4e9d15fc779f6a270421f78c4aed3cd90c0cd01d
Signed-off-by: Riccardo Ciovati <rciovati@gmail.com>
Merge "Fix for wrong selection of sms template" into ics
Add an option to disable the transformation from SMS to MMS when the lenght of the message is > 3 sms.

It is also possible to still have this transformation but to change the number of text needed before the sms is transformed to mms

EN, FR, DE and SV translation included (thanks to Markus Hoeber for DE and Björn Lundén for SV)

Patch Set 1 : code
Patch Set 2 : Tabulation removed
Patch Set 3 : German translation added
Patch Set 4 : English strings corrected
Patch Set 5 : Swedish translation added, trailing spaces removed

Change-Id: I9d2f2eea29587c07b790c0f8055cb703bdfd2463
Merge "Add an option to disable the transformation from SMS to MMS when the lenght of the message is > 3 sms." into ics
PT-BR: SMS to MMS translations

Change-Id: I5cd75fdb88ee439af76ca04fb2a61248781482a2
CM9-SMS/MMS-Update Russian Translation
Mms - Update Italian Translation

Change-Id: Ib1957bcc8b2bc71717064e457231fde805258d93
Merge "CM9-SMS/MMS-Update Russian Translation" into ics
translations: removed unused strings to get rid of warnings

Change-Id: I128c672e35b1513509182ca95ad34b46384bc715
Merge "PT-BR: SMS to MMS translations" into ics
Mms: Fix ic_dialog_alert usage

The code wasn't updated for ICS everywhere so it points to
old upscaled Gingerbread drawables in a few places.

Change-Id: I5038036fcfb2ede783eae03bf99da8b57194202c
Fix an NullPointerException when finished

No need to continue the querying when it was finished.
Otherwise it will be thrown an NullPointerException,
since RecipientEditor need to be initialized after
the querying completed.

Change-Id: Ie96e8c690b2227971bcd10cc4dab72eb0ec3bacf
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
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>
Fix a StaleDataException issue when pressed MENU in busy

Need to check the state before got the count of mCursor,
since it will be closed in refeshing the list.

Change-Id: Ib636fd8802ced47c6b30fa4cb6fde8173386dd7b
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Mms: Invalidate the contacts cache if contacts DB is modified.

Invalidate the contacts cache if contacts DB is modified,
instead of invalidating on each and every launch.
Which improves first scroll FPS after (subsequent)launch.

Change-Id: I67e4f209ab6c331a21aaf8fe6533891aa9fbaea1
Added 'MMS Transform' hungarian translations (corrected)

Change-Id: If49ab00fd007662ae8d7b7132ab0e53af31dbb28
German translation: SMS delivery notification

Changed the SMS delivery notification, so it doesn't implay that you have just received a message.

Change-Id: I3fd53123b5f6e247e3106e6d6e6dc15dc34e01d0
Merge "Mms: Invalidate the contacts cache if contacts DB is modified." into ics
Make the liftcycle of cursor under the Activity

The cursors of ComposeCardActivity and ConversationList
were never be closed. So the database will throw an
CursorWindowAllocationException if the cursors which not
be closed are too many to be allocated then the database
will return a NULL cursor back to onQueryComplete().
After that Mms will be crashed by the NullPointerException.

Change-Id: Ib8730b326edf9177bbcce48a42b85405acff51ba
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Fix a BadTokenException when user wakeuped device

SlideshowActivity will be destoryed if user pressed POWER
to sleep the device, since it was set to noHistory=true in
AndroidManifest.xml. So it will make SlideView throw a
BadTokenException when user wakeup and then scroll the
SlideView.

Change-Id: Ib67e7547aa47f7c7c6bb469c07482f24db34668d
Signed-off-by: Roger Chen <cxr514033970@gmail.com>