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."
Merge branch 'jb_mr2' of git://codeaurora.org/platform/packages/apps/Mms into qcril

Change-Id: Ic79f588aaf16548112a263e0b38f17b3cc7d652e
Merge branch 'qcril' into cm-10.2
Merge branch 'cm-10.2' of github.com:CyanogenMod/android_packages_apps_Mms into cm-10.2