Fix OmniTorch
fw_base: RILConstants update for legacy RILs

Add missing Constants needed for Samsung/HTC RILs

Change-Id: I48bb4b09bfbd232dc24c053174a201005d4749dd
fw_base: Add RIL_REQUEST_ENTER_DEPERSONALIZATION_CODE

Depending on the RIL / Device can be named RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION or RIL_REQUEST_ENTER_DEPERSONALIZATION_CODE

Change-Id: I671125668836a04c0c9df3c09fea216ed4e85031
Telephony: Squashed commits needed to use CM fw/opt/telephony

If tracking straight from CM, revert these 2 commits:
Telephony: Remove setResultCode in a non-ordered broadcast 78f774aeac53cd1548d87d3a057421e48e145736
Telephony: Mock SMS (2/4) 2d042a6726d1657f3ad4ad4a579931044e9aa799

Telephony: Introduce config item for Hot Swap support

When a Uicc Card is inserted or removed, Android pops up a prompt
to the user to reboot the device. This prompt is unnecessary if the
modem supports Hot Swapping of cards.

Introduce a new config item to indicate if the modem supports
hotswapping. Frameworks can then check this before propmting the
user.

Change-Id: I0f2c3134525aa2301fd667d0a1819f4419eecae0

New Event: ACTION_NEW_OUTGOING_SMS

Change-Id: I8be01ad6251ca25e4d00ebffd876bb6ce7f3c283

Add SMS Middleware layer.

Add fix so ordered broadcasts are delivered to system
apps first in the event of a tie. This works around
the issue where terrible apps steal SMS notifications
from the broadcast queue to simply prevent notifications
that could otherwise be removed by a toggle.

Change-Id: I4fff0c584f8fce9c5f2f4fe86a82fe6480c307c7

TelephonyProperties: Alpha ID fix for OPEN_CHANNEL and other p-commands (1/2)

p-cmds that support the below mentioned scenarios:
- SETUP CALL
- OPEN CHANNEL
- SEND DTMF
- SEND SMS
- SEND SS
- SEND USSD
- LAUNCH BROWSER
- PLAY TONE
- SELECT ITEM

Senarios handled :
- NO ALPHA ID : Introduce a new configurable sys prop
  "persist.atel.noalpha.usrcnf".
   --  Allow display of default UI confirmation if prop is set to true
   --  No UI confirmation to be show if prop is set to false
- NULL ALPHA ID (len = 0 ) :
   -- NO UI confirmation to be displayed

Cherry-picked from CAF commit 5ea0d64186ca08abc0857aae1f83de969393be3b
Without this SimToolkit will pop up asking for user response instead
of recieveing response from framework.

Change-Id: I012707285ee3a93119c2e2956ec599d631db10d5
Signed-off-by: dhacker29 <davidhackerdvm@gmail.com>

Telephony: Add getLteOnGsmMode() method (1/2)

Same functionality as the existing getLteOnCdmaMode, but for GSM
LTE devices.
Enable with the telephony.lteOnGsmDevice system property

From CM 10.0: Ibfb47ca608e51393b99d3308e0a6c66050b3f32e
- Moved getLteOnGsmModeStatic() to TelephonyManager.

Change-Id: Iecd728cc5d6923fe2f61812d57032c80f47af7b1

Add national data roaming and make it optional (1/2)

by Robin Morawetz (Rdlgrmpf) and Davor Bertovic (LorD ClockaN)

Change-Id: Ief840d818ecf4b8ebb088fab34f01878d0a9f2d7
Revert "Telephony: Squashed commits needed to use CM fw/opt/telephony"

This reverts commit 766322cf180871ecb93edf58b930cf383643120a.
Fuck Me

Revert "Revert "Telephony: Squashed commits needed to use CM fw/opt/telephony""

This reverts commit fd3f52b9863fac2d05cc29657c07dcd9d393fca6.
[1/3] framework: volume wake

If enabled pressing volume key will wake the device
and screen. If screen is off because of the proxi
sensor e.g. in call it will not be handled.

PS2:
whitespaces

PS3:
rebased

Change-Id: I189bcfed7228f24c030784d490fb7a35e382b7f6

Conflicts:
	core/java/android/provider/Settings.java
god dammit

Signed-off-by: jakew02 <jacob.whatley91@gmail.com>