Add multi SIM support for SMS

Add support for MSIM MO and MT SMS by extending
base SMS classes.

Change-Id: Ica05764d8ac6fff66a9880ee9d2aafaad2395762
Send defaultVoiceSubInfo and prioritySubInfo

Send defaultVoiceSubscription and prioritySubscription info
to RIL once subscription activated.

Change-Id: I419c0535af7482ee5454185a0d77b4b285d11db1
CRs-fixed: 464483
Merge "Send defaultVoiceSubInfo and prioritySubInfo"
Modify isCardAbsentOrError to handle all cases

Return value from isCardAbsentOrError did not consider
the condition when CardInfo was null in Airplane mode.
As part of the fix, the API is modified to return true
when the card is not available/error

Change-Id: I37a18b7884116104cda49a0e6f2e609af64b0891
CRs-Fixed: 554727
Add AppOps check for sendTextWithPriority

 Add application operation check for sendTextWithPriority API.

Change-Id: Iefc5d0be177334a6626812b822bd89fbceabf9e1
CRs-Fixed: 571674
telephony-msim: Fix package directory

 * Put these files in the correct directory.

Change-Id: Ib274d55b796d9b9b6736115b974123dd32750279
Make changes to consider SIMs with same ICCID.

Make changes to include slot id when comparing subscriptions
in isPresentInActivePendingList, so that SUBS in SIMs with
same ICCID can be included in ActivePendingList.

CRs-Fixed: 566225

Change-Id: I1e556cf2b3f21b05f7658763c82ea047daba0091
Merge "Add AppOps check for sendTextWithPriority"
Dispose card when radio becomes unavailable

MSimUiccController monitors the radio unavailable event and
the Card object is disposed when the radio becomes unavailable.

Change-Id: I3916e61405cf7ca5f8a2a644568244eb74870ab1
CRs-Fixed: 571640
Merge "Dispose card when radio becomes unavailable"
Merge "Modify isCardAbsentOrError to handle all cases"
Disable prompt mode if only one SUB is activated.

Disable prompt mode for voice and SMS if number of
active subscriptions is only one.

Change-Id: I6e8f15329f691bffa40a3da5823fb3e18b24be73
CRs-Fixed: 567610
Telephony(MSIM): Tune Away option is not retained on UI.

The Tune away status setting is not written to the settings
database. Adding a method in MSimPhoneFactory to write this
setting to the settings database.

Change-Id: Ic9775b27f71279bdf920fa8f3c546dfd53c64f23
CRs-Fixed: 533245
Fix data disconnect issue on G sub for C+G DSDS

On a DSDS Cdma+Gsm device, when data is registered on both Cdma and Gsm
subscriptions and DDS is on Gsm sub, if data deregister happens on Cdma
sub, data disconnect is getting propagated to connectivity service
irrespective of DDS, hence data is getting disconnected on Gsm sub.

Add code changes to pass subscription info as argument to notifyData-
Connection and notifyDataConnectionFailed. This subscription info will
be checked against DDS and data disconnect will be blocked if subscription
is not the DDS.

Change-Id: Ia5c7a1dfad89daa6d696bef583c9e3d337f0b82a
CRs-Fixed: 544292
Merge "Merge "Modify isCardAbsentOrError to handle all cases""
Merge "Merge "Merge "Modify isCardAbsentOrError to handle all cases"""
Merge "Merge "Modify isCardAbsentOrError to handle all cases""
Merge "Make changes to consider SIMs with same ICCID."
Merge "Disable prompt mode if only one SUB is activated."
Merge "Telephony(MSIM): Tune Away option is not retained on UI."