(Telephony)(3 of 3) Bring in CM10 Dialer. Thanks cyanogenmod.

Squashed commit of the following:

commit f2838f9793ae2ccc71a499997caddcb397e49b93
Author: Danesh M <daneshm90@gmail.com>
Date:   Mon Jul 16 08:46:23 2012 -0400

    Phone: Dialpad settings

    Change-Id: I0d9e6a747c5c5b8d08883f697c672a63d1d3624c

commit 6c01519f300ce7f5ca45da035027448cde71e350
Author: Ricardo Cerqueira <github@cerqueira.org>
Date:   Tue Apr 17 01:34:31 2012 +0100

    Phone: Enable LTE for GSM LTE phones (part I)

    Change-Id: I580c37f3272c8cc8363e8db5b1c227bf6f74a04a

Change-Id: Ie038e87d61fd83d650f607ebe789247df55158f5

Conflicts:

	src/com/android/phone/PhoneInterfaceManager.java

Signed-off-by: qnhoang81 <qnhoang81@yahoo.com>
Make call screen 25% transparent transparent

Makes the background of multiview 25% black.
It allows to at least see whole image of incoming caller.

p2: removed new colors.xml entry since we can just use the
existing incall_call_banner_background instead

Change-Id: Ic16b3ba10ae0d69d6dd21eea1747aced3288ef42
Phone: Updated czech translation

Change-Id: If78ecbea608e7dabbe1f4a2586b4cb16c8608788
Signed-off-by: Petr Reznicek <kecinzer@gmail.com>
TURKISH: Translations for Phone make my own branch

Change-Id: I983fd57ab899039524a59388c51fb3196fd7297e
Signed-off-by: Fatih Erdem <fatiherdem@outlook.com>
phone: Add option for setting device phone number (squashed)

Squashed commit of the following:
(from gingerbread)

commit 53aaa90d95c83fff8f869c187cc291f51d3be6a6
Author: Pawit Pornkitprasan <p.pawit@gmail.com>
Date:   Thu Nov 24 12:01:03 2011 +0700

    Whitespace fixes

commit d98314c62fa371c7a8bbcda0d5221eb1b72cd639
Author: Pawit Pornkitprasan <p.pawit@gmail.com>
Date:   Tue Aug 30 23:15:07 2011 +0700

    Phone: Set MSISDN on boot from saved setting if SIM returned empty "My Phone Number"

    Some carriers don't set the MSISDN (My Phone Number) and CM remedied
    that by adding a setting in "Additional settings" in Call Settings
    which saves a new MSISDN to the SIM. However, some phones fails to
    save the MSISDN to the SIM and another remedy was added to set it
    every boot from the stored value. However, the current implementation
    only sets it if the framework returns a null value. This patch also
    sets it if the framework returns an empty string.

    Patch Set 3:
    - Fixed simstate checking as the intent extra is a string not an
      integer
    - Removed airplane mode checking as simstate will be triggered anyway

    Change-Id: If8875b841d2029be12f367ab6f309bbfb81fc330
    (cherry picked from commit 4045310b01b3c74fb06be69809f57be7d85dd32a)

commit 10959fc16e91bff31ed136fc609b6035777efacf
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sat Aug 27 00:35:25 2011 +0100

    Phone: Fix race condition in BOOT_COMPLETED intent

    BOOT_COMPLETED was triggering a read (and write) of SIM extra
    fields, regardless of whether the SIM was actually ready for it
    or not.
    If the boot happened to complete before the radio layer
    was ready, we were trying to do iccIO before we were allowed to.
    This resulted in errors for most phones, but on at least one it caused
    the whole iccIO interface to lock up until the next reboot (where the
    same would probably happen again)

    So... trigger the write with the SIM_READY intent itself instead of
    using BOOT_COMPLETED

    Change-Id: I027fab6000cae0ed94ea1513553d883fde99ca75
    (cherry picked from commit 495628ca2852aa5cde792f7c38f4b26ed8a6d2cf)

commit c9601d4df39cd2afbe2ffc864e5fe7a36c94ddd9
Author: Peter Fares <mrpeter05@gmail.com>
Date:   Wed Jan 19 02:00:38 2011 -0600

    Restore unknown phone number after toggling airplane mode

    Change-Id: I1a92422c3cddb93d356f2a28041df8550bee8f7a
    (cherry picked from commit c9639061dcc6ae167e736e5dbd34ede1621edaa1)

commit fe5042c3c29fb01bc6a4a3680b506840a8c36bad
Author: Jiri Tyr <jiri.tyr@gmail.com>
Date:   Sun Jan 16 23:52:01 2011 +0100

    Save phone numbert when entered and set it again when boot completed.

    Change-Id: Id51da585c9ceb5071bf49e880ddb12cd6f70023c
    (cherry picked from commit 9648847f060d8a267fa4600c9754e827b3b93550)

commit 32bc75569d6df75b14447c3215c0e29e7fe6d3f5
Author: Steve Kondik <shade@chemlab.org>
Date:   Fri Aug 20 19:35:17 2010 -0400

    phone: Fix case where MSISDN alpha tag is not set

    The new "My phone number" option was not being saved to the SIM because
    the alpha tag was not previously set. This change externalizes the
    preference code and defaults the alpha tag to "Voice Line 1".

    Change-Id: I15d4b08eeb026e0fdc32bebd7e315eed251061c9

commit 50a25fa4a0c11c4c00bd41094ae2796efe71123c
Author: Steve Kondik <shade@chemlab.org>
Date:   Sun Aug 15 20:19:42 2010 -0400

    phone: Add option for setting device phone number

    Change-Id: I4ce4ced23b3fa9803fae4f1725ef21b01a25e149

Conflicts:

	res/values/strings.xml
	res/xml/gsm_umts_additional_options.xml

Change-Id: I1a9bcaf6b797dd246b12bdfb1781f0e724ea6f95
Updated simplified Chinese translations

Change-Id: I9c1dff5a93ae4d479ba1b1eeabd309a7d19f6d57
TURKISH: Translations for Phone

Change-Id: I6da54bf76639f79d0bc0e1f21604438ed6d3c9e1
Signed-off-by: Fatih Erdem <fatiherdem@outlook.com>
Merge "phone: Add option for setting device phone number (squashed)" into jb
Fix centered layout for inbound call ring

Change-Id: I8961414e6e7639e6a3440738b471b32ad5d6ca04
Signed-off-by: sethyx <sethyx@gmail.com>
Add NT_MODE's for NETWORK_MODE's 8 and 10

as defined in RILConstants.java
and fix force closes when phone is not yet ready

Change-Id: I225bb776152e4c63ade1f70669edb2df3986634c
Signed-off-by: dhacker29 <davidhackerdvm@gmail.com>
Revert "2G/3G toggle for applications"

This reverts commit d1ca2d45f27733788f451b52b771239b8f7b9a09.

Conflicts:

	res/values-cs/strings.xml

Change-Id: I8ef360353739e81efd141e51acdc0910fc0beae0
Makes network mode toggle work. Port from CM9.

Added LTE_ONLY needed code to PhoneToggler.
Added LTE to the double check MODE_GLOBAL condition on Settings and
PhoneToggler.

Integrated patch by Danny Baumann to make PhoneToggler accept the same
values as are configurable in settings, from change:
http://review.cyanogenmod.com/#change,14120

Tested-by: Emerson Pinter
Signed-off-by: Emerson Pinter <dev@pinter.com.br>

*** Settings.java and PhoneToggler.java original authors:

commit 3e6b2ca4c969aedeefa9a10bb85e9c52bc43a574
Author: Emilio López <turl@tuxfamily.org>
Date:   Wed Sep 14 23:50:06 2011 +0000

    Phone: Double check mode before changing, part 2

    A modem might report world phone mode when it really is only GSM or
    CDMA capable, making the system switch to an invalid mode which
    will later break the telephony code.
    This simple check enforces the world phone overlay which is already
    in place and will only consider it a correct value in that case.

    This complements a commit with the same title by applying the same
    logic to another code path that uses similar checks.

    Change-Id: Ib7332511a693d40f53a79ba98844c9117871228a

commit 19215c8f614e30211b2aca1512bb8444da55bdda
Author: Emilio López <turl@tuxfamily.org>
Date:   Wed Sep 14 23:50:06 2011 +0000

    Phone: Double check mode before changing

    A modem might report world phone mode when it really is only GSM or
    CDMA capable, making the system switch to an invalid mode which
    will later break the telephony code.
    This simple check enforces the world phone overlay which is already
    in place and will only consider it a correct value in that case.

    Change-Id: Iedbc529497b2779f3a12ff56ca1b028cc9434227

commit 0d396f79514173e06c5334a40f23090933e0a806
Author: piaf <piaf@mediacenter-desktop.(none)>
Date:   Tue Aug 3 00:56:09 2010 +0100

    Added permission control for the 2G/3G switch

commit 5c85d5417a67b02be895a8878c7fa86bc992cd8e
Author: Mediacenter <mediacenter@mediacenter-desktop.(none)>
Date:   Sat Jul 31 01:45:03 2010 +0100

    Added support for Changing Phone network mode
    Todo: Add permission control

Change-Id: I84db8082b4e35262f1c6cdb8d1156f3cbf997a99

Conflicts:

	AndroidManifest.xml
	res/values-cs/strings.xml
	res/values-de/strings.xml
	res/values-es/strings.xml
	res/values-fr/strings.xml
	res/values-hu/strings.xml
	res/values-it/strings.xml
	res/values-ja/strings.xml
	res/values-ko/strings.xml
	res/values-nl/strings.xml
	res/values-pl/strings.xml
	res/values-pt/strings.xml
	res/values-sk/strings.xml
	res/values-sv/strings.xml
	res/values-tr/strings.xml
	res/values-uk/strings.xml
	res/values-zh-rCN/strings.xml
	res/values-zh-rTW/strings.xml
	res/values/strings.xml
	src/com/android/phone/MobileNetworkSettings.java
PhoneToggler: Fix toggler on LTE+GSM phones

NT_MODE_LTE_GSM_WCDMA was missing from the lists of acceptable
network modes

Change-Id: I6c3c38d63902c1c59cfa2e61ed5d8bcdd5bcb5f0