Mms: Do not call stopUsingNetworkFeature when another MMS is in process

Around the time when a big MMS transaction (send or received) is about
to complete, a new MMS transaction (send or received) is started.
Due to completion of the previous transation, present code logic
removes the route by calling stopUsingNetworkFeature(). This
results in socket failure for the new MMS transaction.
CRs-Fixed: 488519

Change-Id: I3277754fb096c224c032808bb7ca35773d484076
Mms(MSIM): Add support for MSIM.

Add multi SIM support to SMS and MMS
1) Send SMS/MMS on selected preferred subscription.
2) Display SUB information in message conversation.
3) In MT message case extract SUB information.
4) Save SUB information in provider.

Change-Id: I248a9c6f3fe40b663c3b7fd3ed8fbbb07bc26c8f
Mms(MSIM): MMS Auto Download Feature

A new implemenation to carry out following
operations seemlessly.
1. Activate MMS PDP on all subs and send/received
   MT MMS on all other sub.
2. Deactivate the MMS PDP and revert back to original
   sub post the successful MMS operation.

Change-Id: I5bc5d492f6769ce00b186c5c4eeb9d6efec2408e
Telephony(MSIM): Add prompt support for SMS

1) Add prompt option in SMS multi sim settings.
2) New iterface API to get SMS prompt is enabled or not.
3) Disply prompt while sending SMS, if user selects
   prompt mode in multi sim settings.
CRs-fixed: 474694

Change-Id: Idfb4cc9b097e448c9a40318e15a3eb881533e5a4
Mms: Handle Disk Storage Full Crash

- When a device is out of disk storage space, the messages apk will crash
and become unresponsive
- This changes now handles the SQLiteFullException thrown by
the app and displays a toast to the user to indicate that the
storage is full.
CRs-Fixed: 487749

Change-Id: I89956d06e5fdd008a31802c10f33364eb327dff7
MMS: Handle case when mobile data is not available

mmsNetworkInfo is null on APQ targets where mobile data is not available
causing a null pointer crash

CRs-Fixed: 517339

Change-Id: I2522d9da3cea1599d7b865e12134b508b636bde9
Merge commit 'android-4.3_r2.1' into merge_branch

* commit 'android-4.3_r2.1':
  When a video attachment from MMS is saved to the device, the content is not displayed on the Gallery app
Merge "MMS: Handle case when mobile data is not available"
Merge "Merge commit 'android-4.3_r2.1' into merge_branch"
Mms: Correct Mms Transaction id handling.

- The transaction id should come from the content location
- Code should detect duplicate transactions solely based on
  mId. For example, code should detect when a retrieve transaction
  and a notification transacation both operation on the same mID.

Change-Id: I3fefcc284ef8f75daacdef530ac19e1577ae73bb
CRs-Fixed: 520957
Merge "Mms: Correct Mms Transaction id handling."
Fix recipient picker crash with no contacts

Change-Id: I535647a7752fbba6575d2ce2493a8ce91db13626
Mms: Add AF Translations

Change-Id: I039c0adefd2c93cf308d1c33cfbc294eafe5f657
Merge "Fix recipient picker crash with no contacts" into cm-10.2
Merge branch 'jb_mr2' of git://codeaurora.org/platform/packages/apps/Mms into qcril

Change-Id: Ic79f588aaf16548112a263e0b38f17b3cc7d652e
Merge "Mms: Add AF Translations" into cm-10.2
Mms: UG translation, added Uyghur translation.

Change-Id: Ibc8cb4de980af5b2211670f5e18ff87fdd630c33
Merge "Mms: UG translation, added Uyghur translation." into cm-10.2
Mms: zh-rTW translations

Change-Id: I0898b751460249c434d9178279cd7335bf3d5500
Mms: Clean up delivery report dialog.

Instead of launching another activity just to show the delivery report,
mimic how showMessageDetails works instead, using AlertDialog.Builder.
This ports the dialog over to Holo as well.

Change-Id: Ia7ee549fe7ed9770a70482a042ebbc4bc12bab21
Signed-off-by: angelsl <hidingfromhidden@gmail.com>