Fix our interpretation of apn setting's bearer.

Between ICS and JB we changed it to use TelephonyManager's network type
enumeration.  This changes it back to represent the RIL's radio
technology.  The only diff between the two is 13 and 14 are swapped,
so the change was causing problems with LTE and eHRPD.

bug:6830908
Change-Id: I85a7c8037f370f368e5cbf6dc2c9395c6889b541

Conflicts:

	telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
Toggle icon for Zaph. Use new ThaPhlash icon instead of old unicorn(2/2)

This is the systemui end of the change for the "null" navbar icon.

Change-Id: Ic5758a97b644689d50104d11c8e8e396eab683b3
Signed-off-by: Kyle Teague <kwesley1020@gmail.com>
Turkish Translations for frameworks-res

Change-Id: I0bcac45caea213ba0a1e0f987c58da1501e148f2
Signed-off-by: Faatih Erdem <fatiherdem@outlook.com>
Turkish Translations update for SystemUI

Change-Id: Iee5e9633a8476317eedd5f3ceccfc8770912abc6
Signed-off-by: Faatih Erdem <fatiherdem@outlook.com>
Support GSM AT commands for SMS over bluetooth (1/2)

Modifications required to support the older GSM "AT+" commands for SMS over
the bluetooth transport for use with car radios, etc. This must piggy back
on the existing handsfree code as the spec uses that channel for the commands.
(2 parts: frameworks/base and packages/apps/Phone)

frameworks/base:
Additions to JNI and supporting framework code to allow sending of individual
characters and to receive the PDU stream - neither of which are CR terminated.

IccSmsInterfaceManager.java requires a reversion in sendText() to use
enforceCallingOrSelfPermission() instead of enforceCallingPermission(). This
is apparently the only way Phone.apk can actually send an SMS. (ICS used the
OrSelf variation while JB changed to use the stricter version.)

Change-Id: Iacb62f0d6cf2d0f7f15396dc0d232192c29c1176
Signed-off-by: Gary Dezern <garyd9@gmail.com>
Add safe headset volume check (1/2) Credit: CyanogenMod

Change-Id: I346133915da311948fec1771ad2a8cbb282d0e6b
Merge "Fix our interpretation of apn setting's bearer." into jb
Fix detection of CDMA cell broadcast messages.

The bIsServicePresent field of an incoming CDMA SMS RIL message
is not a reliable way to distinguish broadcast from point-to-point
messages on some RILs. Change CDMA SmsMessage.getMessageType() to
return MESSAGE_TYPE_BROADCAST when the service category is not 0,
and MESSAGE_TYPE_POINT_TO_POINT when the service category is 0.

Bug: 6853691
Change-Id: I0d44a8ce0bb295da5125271db90652570d655bc1
Merge "Add safe headset volume check (1/2) Credit: CyanogenMod" into jb
Add missing bool for fixing A2DP

Change-Id: I006706e647883ba72c0c099c81d92bfc11c3f2c6
Merge "Fix detection of CDMA cell broadcast messages." into jb
Fix 6804479: "Emergency calls only" in notification shade

Add an additional codepath to the "no connectivity" logic in
NetworkController to allow the PLMN bubble up from the
GsmServiceStateTracker, where R.string.emergency_calls_only
is returned if we're in emergency call mode.

Bug: 6804479
Change-Id: I0a77261e4393cc0dc32bae3e631ef196b2342f06
Fix NPE on some phones at startup.

Bug: 6877589
Change-Id: I65ff37b4cf6b59a72a7aa665f252f5fb34f3b183
Toggles: Add color selection for enabled, disabled, alpha (1/2)

Patch set 2: rebase
Patch set 3: remove some unused imports

Change-Id: I402c4b3f1bf21cc6befcd1fbd68769bcf232b659
Merge "Turkish Translations update for SystemUI" into jb
Revert "Turkish Translations update for SystemUI"

This reverts commit 6732a9f377ccfb2d565bd281161ef75caa769492
Merge "Turkish Translations for frameworks-res" into jb
Revert "Turkish Translations for frameworks-res"

This reverts commit a852a7e6ad57f225bec457ad30d1d85758cc7bd5
Merge "Revert "Turkish Translations for frameworks-res"" into jb
Merge "Revert "Turkish Translations update for SystemUI"" into jb