Add Glowpad Changes
Custom Vibrations (3/6)
Phone part.

- added possibility to choose a custom vibration for phone calls (in Settings)
- added checking for contact-level custom vibrations to CallNotifier
- added a fallback option to Ringer, if the received vibration is corrupt

Also fix quiet hours port.

Change-Id: I161b0167db6832939665a0ff548d4db99c4011cc
Signed-off-by: sethyx <sethyx@gmail.com>
Fix import

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Changes for the 2g and lte toggles
Support additional LTE network modes

- Support all LTE network modes defined in RILConstants and
  com.android.internal.telephony.Phone.
- Enable LTE options for GSM LTE phones.
- Implement toggleLTE.
  - LTE/CDMA mode may be overridden with toggleLTE_lte_cdma_nt_mode.

Consists of (partial) cherry-picks of these CM 10.0 commits:

commit a8eb4dce7b19bfa74fbbde128336f93057133d97
Author: Mike Kasick <mike@kasick.org>
Date:   Fri Aug 10 18:04:44 2012 -0400

    Make "Preferred network mode" strings consistent, fix LTE modes.

    - Make network mode strings, comments, internally consistent with each other.
    - Show LTE modes only for CDMA/LTE and GSM/LTE devices, not non-LTE.
    - Revert to "Global" label for NETWORK_MODE_GLOBAL on non-LTE devices, to
      remain consistent with RILConstants, but also because this mode is used
      for CDMA/EvDo/GSM/WCDMA mode on global-capable devices.
    - Consistently show "CDMA / EvDo" whether on a CDMA or CDMA/LTE phone.

    This should be the complete superset of network modes supported on all
    devices.  Individual devices may prune this list to include only network
    modes that their radios support.

    Note, the "Global" mode label (preferred_network_mode_lte_cdma_summary)
    remains unchanged from its overloaded-to-support-LTE-on-toro capacity for
    consistency with AOSP, although though this overloading is a mess.

    Change-Id: I39bcf73474778a4d83753eddb5014642e41ab9b3

commit 9025baeddf9b7325e07605fca310fa897dcd9175
Author: dhacker29 <davidhackerdvm@gmail.com>
Date:   Tue Jul 10 10:59:01 2012 -0500

    Add NT_MODE's for NETWORK_MODE's 8 and 10

    as defined in RILConstants.java

    Change-Id: I225bb776152e4c63ade1f70669edb2df3986634c

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

    Phone: Enable LTE options for GSM LTE phones

    Change-Id: I580c37f3272c8cc8363e8db5b1c227bf6f74a04a

Change-Id: I326584e1f82cc84c244c23282b096a98703d4b1a

Conflicts:

	src/com/android/phone/PhoneInterfaceManager.java
Phone : Dialpad settings

Add dialpad settings intent to the options

Change-Id: Ia00abb222297ba9a89dc07a7fbc51b8e9cd48d0e

Conflicts:
	res/values/strings.xml
Phone mods

Landscape in call && Exit to home

Patch2 : Cleanup
patch3 : Whitespace cleanup - removed references to preferences
	that were not needed/used/

Change-Id: I1eb5904b9c5f0a252d9e1a935dc21668361cedb6
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Phone: Updated czech translation

Patch-set 2: More strings

Change-Id: Ic286080daafa205a2e0ea45dedfa77b389ffaf28
Signed-off-by: Petr Reznicek <kecinzer@gmail.com>
Phone: Added missing danish translations

Change-Id: I6079734b7afd9b3f80c7440ad3df4a69345f507e
Phone: Add transparency to incall screen

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

Change-Id: I920fee43e3bac7492a54f43281716eb8b686aa5e
Signed-off-by: kecinzer <kecinzer@gmail.com>
Phone: Forward port Add national data roaming and make it optional (2/2)

  by Robin Morawetz (Rdlgrmpf) and Davor Bertovic (LorD ClockaN)
  Id: I9fccddf4d9081d228540d5e62f132383b9579c52

Change-Id: I524f3b71e9e8ef3483351adc4907fba4622e4b3c
Phone: Updated czech translation

Change-Id: Ica209c8373545afa26d876cd23aac7ef3df73a43
Signed-off-by: kecinzer <kecinzer@gmail.com>
Updated simplified Chinese translations

Change-Id: I38c51d544f821ef3599f6d141646fc255ebf4a13
Fix occasional ring volume reset

When PHONE_INCOMING_RING message accidentaly arrives to CallNotifier
immediately after the user answers the call, the call state is still
RINGING instead of OFFHOOK, so ring plays again, causing audio
driver to switch from just entered IN_CALL mode back to RINGING mode,
which can lead to completely mute phone call - no side of call can be
heard.

Above also affects increasing ring feature.

Prevent this scenario by calling silenceRinger() instead of stopRing()
at the beginning of answerCall(), so not only the current ring is
stopped, but also the possible next ring prevented.

Change-Id: I358ffd93f4233ab1a957af18ec40edc0fef04014
Updated Japanese translations

Change-Id: Ie569f8b93787140afcee18d218de89e4fe3f1a73
Signed-off-by: rdgate <rdgate@gmail.com>
Hungarian translations by Klasszsrac

Change-Id: If2e441abdda02fe9b28ef57150644264e8a871f6
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Fix center layout on manually lowered DPI

Change-Id: I11c1f9c31df9021e1763d4aed9af5517e3cb8753
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Phone: implement noise suppression for phone calls (2/2)

Phone: implement noise suppression for phone calls (1/2)

https://github.com/AOKP/frameworks_base/commit/44b1a41cba0dfdff79cba28c1a6a9ee4ab72f694

Patch-set 3: This should work
Patch-set 4: Default value set to false
Patch-set 5: Cleanup

Change-Id: Ie72449f952f99b410fbb5bc4a8e6cbc833e6176f
Phone: Updated czech translation

Change-Id: Ic22e8b23aa6bfd1ecb177f367bb4f32257b3755f
Signed-off-by: kecinzer <kecinzer@gmail.com>
Updated Japanese translations

Change-Id: Ia95d1ebcb8dcb359cc686cefc1cac8a4c20d57b8
Signed-off-by: rdgate <rdgate@gmail.com>