SMS: Subscription based apis per new design

sendText and sendMultipartText are subscription based apis.
SMSManager clients need to create multiple instances,
1 per subscription or create SMSManager using default subId.

Change-Id: I79f01069af61e2eb009ec4a884209a4d65bad24b
IMS: Add null check before retrieving extras from bundle.

Add null check before retrieving extras from bundle
to avoid NullPointerException and crash.

Change-Id: Ice063ca7d9e840819f295c78f264cf9c4e4e42b0
CRs-Fixed: 728662
Fix SIM contact email saving error

It's a syntax error, correct initializing email array to 0xFF

CRs-Fixed: 645605

Change-Id: Ic9b85b8cdf28891fbafe4609217fa57010c4a3bc
IMS UT: String Error Handling

Adding handling of ImsException in
ImsPhone, supporting propagation of
network error string to the UI.

Change-Id: Ibf7f77b2404fab4c847cc6f0c2d9e2c034c262cd
CRs-Fixed: 714000
Audio: Add QCELP, EVRC,AAC_MP4  mime types for MMS

- MMS is failing for  QCELP, EVRC and AAC_MP4 audio clips.
- The above formats are not supported MMS audio types.
- Add above formats in MMS content types.

Change-Id: Idd641af1fb7299bf51dc6274f315af5d48204606
CRs-Fixed: 566784
MSIM: Route ECall requests on CS pipe

Add MSIM check to place emergency calls on
CS RIL pipe in multisim configuration.

Change-Id: I5cbcde1d0eb55b356d6c2c5bfcf11f416e62e11e
CRs-Fixed: 727641
Use EF_EXT5 as extension for EF_MSISDN on USIM

For USIM applications, use EF_EXT5 as the extension for EF_MSISDN
as per TS 31.102 Section 4.2.37

Conflicts:
	src/java/com/android/internal/telephony/uicc/SIMRecords.java

Change-Id: Ib3bd3d8160d73fcc02b80ef420d8c8f2ffb4992f
CRs-Fixed: 433379
ICC: Get EF_PLMNWACT to support user controlled PLMN list.

Add the EF_PLMNWACT ID into the SIM file handler.

Conflicts:
	src/java/com/android/internal/telephony/uicc/UsimFileHandler.java

Change-Id: I5c04729b6b7bfb6342c7fd3b968a9762eb92210a
Telephony: Multiparty srvcc

Conflicts:
src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java
Change-Id: Ie689f31d7970ecf3a5008cf1dad450045d0b34db
Stk: Fix Null pointer exception in CatService's dispose

When uicc card updates the CatService when the sim is removed,
dispose CatService's instance for a particular slot id.

Change-Id: Ic4c05348466b3eafbcb252245f38ae5f13a18b4b
IMS: Allow placeCall with complete uri.

Add code to dial with complete uri if dial intent contains
extra "org.codeaurora.extra.SKIP_SCHEMA_PARSING" set to true.

Change-Id: Ic46c1ae32f2bbd6069ac63571e655e81d758ec89
CRs-Fixed: 680318
Process MMI Codes In IMSPhone Even If BasePhone Is CDMA

Removing a check to see if base phone
is CDMAPhone while dialing a call in
ImsPhone. Since the base phone has
handed the call to ImsPhone, which
supports all MMI codes, the check,
that prevented further parsing of
dial string, is redundant.

Conflicts:
        src/java/com/android/internal/telephony/imsphone/ImsPhone.java

Change-Id: I21b7ed8e571cfd55a2af413d39911f8b7551e0cc
CRs-Fixed: 725556
STK CC feature implementation

Support to display the current request is changed by STKCC.
Support to display alpha messgae from STKCC.
Support to display informatiom from new SS message.
Add FLAG_RECEIVER_FOREGROUND to alpha broadcast intent.

Conflicts:
        src/java/com/android/internal/telephony/PhoneBase.java

Change-Id: I0d7ee0dea25cd40c074fdf748dbf900bd654fdff
Correct the license for the new file added for STK CC.

Change to BSD license from Apache license.

Change-Id: I2e064868ee3dc9808b983822e8a9b972d62e408c
Telephony: Ignore data registration when bringing down call

Bring down data call even if we have it while data registration indicates
phone is in unregistered state.
getAnyDataEnabled will return false if phone is not registered hence
user disabling data while phone is unregistered will have no effect
(and data call will remain there indefinitely).

Change-Id: I72cf1fb8b89cad5bb8595233721d1ac315750dbf
CRs-Fixed: 372219
Add support for send Message with messaging options.

Add support for following messaging options.

1.Add support for message priority in 3gpp2.

2.Add link control support while sending multiple messages.

3.Add validity period support in 3gpp.

Change-Id: I53bb027531959f71285e5f79896768a591129536
Conflicts:
src/java/com/android/internal/telephony/CommandsInterface.java
src/java/com/android/internal/telephony/RIL.java
src/java/com/android/internal/telephony/SMSDispatcher.java
src/java/com/android/internal/telephony/cdma/CdmaSMSDispatcher.java
src/java/com/android/internal/telephony/gsm/GsmSMSDispatcher.java
Telephony: Add 7bit Ascii support for long message

Add 7bit Ascii encoding and decoding support for long messages.

Change-Id: I4b7342fcbfd31896d24ad15315c03b752e20aac5
telephony: add overloaded sendMultipartTextMessage API.

Change-Id: I3b4577c393c1ab73f2940db2dc0634a7bb783098
CAT: Add MSIM Support for Stk

Extended base stk functionality to support stk for
MultiSim.

Introduce CatServiceFactory to create multiple Catservices
for MultiSim.

Change-Id: If8a455826b28b1ea137ae1829873c33778bda87d
IMS: CallForward Timer unconditional

1) Filling response data in CallForwardInfo
   structure
2) These changes are required for new api
   in ImsPhone.These are required to support
   UI flow.
3) Added MMI functionality.
4) Introduced new API, which can be called
   from UI to set and query CallForward
   Timer.

Conflicts:
        src/java/com/android/internal/telephony/PhoneBase.java
        src/java/com/android/internal/telephony/imsphone/ImsPhone.java

Change-Id: I4cc6f84c3f7edda46a55dabf91141e8837383192
CRs-Fixed: 689110