Using SystemVibrator in the cases other than Ringer.java

In ICS, Phone app was creating separate Vibrator instances in
Ringer.java and CallNotifier.java, while in Jellybean they started
relying on one single Vibrator Service.
See also Id928ffef9a87e2563198240e91184cf59ecebbb1.

It means vibrate()/cancel() calls from two files interfere with each
other. When "Emergency tone" is set to "Vibrate" in Sound Setting
(which is only available with CDMA devices), this causes unexpected
trouble; the "Emergency tone" vibration is canceled immediately by
Ringer's Vibrator#cancel() call. onPhoneStateChanged() is indirectly
calling the method.

This change stops using the Vibrator Service in the emergency vibration
case, so that two Vibrator objects won't interfere with each other.

TESTED (use CDMA phone):
- Set "Emergency tone" to "Vibrate", and make a phone call to "911"
-> The device should vibrate for hundreds of mills (even without a
   fix, it may vibrate for an instant, so need to check how long)

Bug: 6794250
Change-Id: I69e6c3d99b14b3c50c57ff5d59ca42f4ea18024f
Merge "Using SystemVibrator in the cases other than Ringer.java" into jb-dev
merge in jb-mr0-release history after reset to jb-dev
Updated simplified Chinese translations

Change-Id: I784fc94365f1e29a16453d91426ad20378b7cc17
Phone: Updated czech translation

Patch-set 2: Unknown call

Change-Id: I524c03c9c7364ed6246304cfd715cbe662b02210
Signed-off-by: Petr Reznicek <kecinzer@gmail.com>
Adding contextual "Voice Mail" text to in-call dialpad.

Adds contextual "Voice Mail" text as the hint in the DMTF dialpad
editText.

bug: b/7110391
Change-Id: I85241dc7fa6768f68867fdb1237540233b8be01b
Merge "Phone: Updated czech translation" into jb
Phone: Updated czech translation

Change-Id: I5ad2bf21a64167d06d3374bfb15e37eaa9be21fd
Signed-off-by: Petr Reznicek <kecinzer@gmail.com>
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

PS5: rebase

Change-Id: I161b0167db6832939665a0ff548d4db99c4011cc
Signed-off-by: sethyx <sethyx@gmail.com>
Merge "Phone: Updated czech translation" into jb
Phone: Updated czech translation

Change-Id: I91483c7875de53d892a2e41c9acca61565fb9ea4
Signed-off-by: Petr Reznicek <kecinzer@gmail.com>
Fix setting ringtone.

If user wants to set custom ringtone, android.phone dies.

Change-Id: If5aed78f790647462d0a24bf1d3af5d6b686af34
Signed-off-by: sethyx <sethyx@gmail.com>
Custom vibs: make sure cache is updated if contact has a custom vib.

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

Change-Id: Ie4f247b13dc312244c3cd8ac70f8b3618b038bb8
Phone: Sprint MWI Quirk: Phantom message wait indicator workaround

If true, message wait indicators are hidden by default on this device
unless the user enables it in Call Settings. This quirk is necessary
for the "Phantom Voicemail" issue where notifications that are
impossible to dismiss on the Sprint network. In rare instances, feature
phone voicemail gets stuck in a Sprint account where smart phones are
unable to delete them. Sprint will not help the subscriber fix this,
as their own Android phones ignore message wait indicators.

When you enable 'sprint_mwi_quirk' in overlay/packages/apps/Phone/res/values/config.xml
this option appears in the Phone app:

Settings > Message Wait Indicator

Default is disabled, as Sprint Android phones have no reason to see
message wait indicators. It can however be enabled for Sprint phones
used on overseas carriers where message wait indicators are desired.

Rebased on jellybeans

Change-Id: I36f8d43b5684a6f7337852da0394a21ca92fefbf
Phone:  fix runtime error when attempting enter setting

on non Sprint phones

Change-Id: I056d751efb427348da19009a8df960e8c36d9bb7
Hungarian translations by Klasszsrac

Change-Id: Ie882e099c31d6d64d74648835f9fa3250df41894
Signed-off-by: Gergely Szell <sethyx@gmail.com>
Phone: Updated czech translation

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

Change-Id: I84b62430ad64c225714aab6a2622bb6f80956d89
Merge tag 'android-4.1.2_r1' into HEAD

Android 4.1.2 release 1