Refactor SMS Middleware and SMS Send path.

Introduce a new Broadcast, ACTION_NEW_OUTGOING_SMS, that is similar to the existing call
equivalent ACTION_NEW_OUTGOING_CALL. This allows a receiver to rewrite the intent
or cancel it entirely.

This removes the need for injecting middleware.

Change-Id: I063288461161979f951932f32ade2cfbd72f8b73
Revert "PhoneProxy: when using v6 or greater ril make sure current phone type isnt GSM"

This reverts commit 5e0983ba3e96083da094d9706beadacce6b4e9c9.

Change-Id: I1d3727a5ac315309c1ce7aae4fa1d0662984432f
Merge "Revert "PhoneProxy: when using v6 or greater ril make sure current phone type isnt GSM"" into cm-10.1
Merge "Refactor SMS Middleware and SMS Send path." into cm-10.1
SMS Broadcast result receiver fix:
Fix bug where sentIntents is pulled from the wrong bundle key.

Change-Id: I306be0aeeda07e065702ca30edc3818ae9be4e26
SamsungQualcommRIL: fix passing isgsm flag

Change-Id: I3a07ac5157db9c64bca1016ab137419968c16fe6
Merge "SamsungQualcommRIL: fix passing isgsm flag" into cm-10.1
SamsungQualcommRIL: always convert hex to int.

Change-Id: Idc9183c9041f4fb816ff82f428812bcfe7e5fce0
SamsungQualcommRIL: fix showing gsm operator numbers.

* replace them with operator names

Change-Id: I1fd6591f287eda05d0e18d2a269b49ee33b0bbca
SamsungQualcommRIL: add more carrier numbers

Change-Id: I2aa3f4146575329c6fefb259b099371080842dab
SamsungQualcommRIL: fix HD voice

Change-Id: I8dfd96adeae15c42f57810cdb54a9eb915dead4f
Fix RIL_UNSOL_CDMA_PRL_CHANGED constant typo (2/2)

Change-Id: If3ff32a3974368d9ea2756d3d9a22d4713e704fa
SamsungQualcommRIL: Add Operators class

* for replacing operator numbers with operator name
* prevent race condition when the two response  colided

Change-Id: Ia5add56b0c79847a70487223006bb33e2730a165
Fix NRE on sending multipart texts.

Watch for deliveryIntents, parts, and sentIntents being null.

Change-Id: Ib9e55b59ef92d0f6057ec2e8c93dcb95d68a612d
Revert "SamsungQualcommRIL: always convert hex to int."

This reverts commit ef61f36300a3bca75bd0d06ad7d89e474c208af4.

Change-Id: Ia374a84cfdb8afdea9776e8cce5ad4e23409fe68
Merge "Revert "SamsungQualcommRIL: always convert hex to int."" into cm-10.1
Samsungqualcommril: fix parser

Change-Id: Ib033aa75942f14241561ded8dee1039176039170
SamsungQualcommRIL: fix NPE

Change-Id: I640228aee5424605d3df5c491f1c36ea72a6d3a7
Properly notify of precise call state change after connection hangup.

When disconnecting connections via Connection.hangup(), previously no
precise call state notification was sent out.
This change should fix BT headsets ringing indefinitely after a
blacklisted call came in, as BluetoothPhoneService can now update the
headset state properly.

Change-Id: I4439d7d8ed47e72da9d061b885ec9a0e6e1b784d
Introduce HTCCDMAQualcommRIL for HTC CDMA devices

This is based off HTCQualcommRIL with added changes from
SamsungQualcommRIL.

Adds responseDataRegistrationState from Chris Lawrence.

Change-Id: Id5b9c59b100229dd3abd356ecc5d4d94e93155d9