Framework: Show advanced reboot menu only if device is unlocked

The advanced reboot menu will only show if the device is unlocked.
Otherwise
the reboot entry will allow the user to simply reboot the phone.

PS2: Reverted changes done to
core/java/android/view/WindowManagerPolicy.java
PS3: Removed tmp file which was created by gedit..
PS4: Only show reboot options if unlocked or not a secure lockscreen

Change-Id: I6f98eca87fa392d2f9aa918f2d3343d1489fa5fd
Signed-off-by: Parthipan Ramesh <parthipan.ramesh@gmail.com>
[1/4] Dialer lookup

Squashed commit of the following:

commit 7802111
Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
Date:   Fri Mar 7 17:11:02 2014 -0500

    Add people lookup settings keys

    Change-Id: I2ff9bb7684d04f4f9b640939c7db269873aa3308

commit 0e5ed5a
Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
Date:   Fri Jan 31 11:43:10 2014 -0500

    Frameworks: Add settings keys for forward and reverse phone number lookup

    Change-Id: I1c4c7825b4361b7a52dd419f83afd7b9fcbe1494

Change-Id: I68e4214e813695021b64c29ab1d831a944a6275a
[1/2] Frameworks: Battery Icons

      Reveal hidden battery option
      Remove all customizations; return to stock design

PS2 - made font black and bold

Change-Id: I026daf0e2b75c8cf9923ed28ef02289813cfdb50
Merge "Framework: Show advanced reboot menu only if device is unlocked" into kitkat
Update IT Translation

PS4: Fix derps and update safe headset volume on the spot.
PS5: Conditional for safe volume aswell.

Change-Id: Iabf7613b90d84476405522c2352361d0153ec655
Audio: Fixed system/call stream volume can't adjust with HS connected.

Issue Description:
When headset connected, the system/voice call stream volume can't be
adjusted from Volume bar.

Root Cause:
Currently adjustStreamVolume is applied to stream type alias and the
device for the stream alias. So when headset connected and adjust
volume for SYSTEM_STREAM, the operation will be applied to RING_STREAM
(which is aliased by SYSTEM_STREAM) and speaker. As headset is returned
from getDeviceForStream(SYSTEM_STREAM), but speaker for RING_STREAM.

Solution:
Change the adjustStreamVolume to apply volume to the stream alias and
the device for the stream type exactly.

Change-Id: Icd226d9eb197017cd3c186a0096edaed755680ec
Signed-off-by: Guo Xie <gxie@marvell.com>
PIE: Prevent a rare freeze that appears on quick iterations.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Merge "Audio: Fixed system/call stream volume can't adjust with HS connected." into kitkat
Merge "[1/4] Dialer lookup" into kitkat
Smooth Spinners: Makes the loading "spinner" animation smoother in non-holo apps

The loading "spinner" animation is quite jerky by default when the progress xml's from
drawable are called in applications that don't use the holo progress animation. The holo
"spinner" animation is already smooth by default. This makes every other "spinner"
animation smooth.

We've been changing this value in all ROM's we release, both AOSP and CM based ones
as well as stock ROM's, since it gives a more polished look to the entire system. In the past
3 years we've been using this small tweak we have not noticed anything that would
adversely affect battery life or system operations as a whole.

Change-Id: I617d197c2ff4f1a27e96dbc206c24c27036e18d6
Signed-off-by: Kristof Petho <kristof.petho@gmail.com>
Revert "Fix: Custom lockscreen force close"

This reverts commit 6af4b210145c34c0249ef703b8ba33f0ed4ca6e8.

Change-Id: Ia5956d70bbc8a98d141ff64e11a575e410d99952
Merge "Revert "Fix: Custom lockscreen force close"" into kitkat
Revert "Custom lockscreen"

The UI of the feature does not fit android guidelines and the feature itself seems a bit too much for me.

This reverts commit 2fa74b852a8e5750adbb5fa2f8db2b935ce56f06.

Change-Id: I3641ffba528b128015dbc1917938d472807a10db
Merge "Revert "Custom lockscreen"" into kitkat
SystemUI: German translation

PS1: add some strings
PS2: fix one string and remove whitespaces
PS5: rebase
PS6: remove whitespaces

Change-Id: Ief3ccec9e1fe1439b26c2cdb518087c0fe66324b
Signed-off-by: Matthias Freund <matthias88freund@gmail.com>
SystemUI: PT-BR translations

Change-Id: I6af280547e0a80a49cdb58b22090ba47f7435557
Core: PT-BR translations

Change-Id: Iad610707e18165958212da32b18bcc06833951f8
Framework: Polish Translation

Polish translations for:
* SystemUI
* WallpaperCropper
* Framework

Change-Id: Id1cfce42ebe8fa4aa18e9922896cd618150d94b2
Base: Add RU translations

Change-Id: Ic1221be323265e17de8b08cb03150ce59b10d610
Base: ES translation

PS1: Sound Tile translations
PS3: Wallpaper Cropper translations
PS5: Remove unused strings

Change-Id: Ifee1143cf66fe24d6a8b02be3055affe982ffbaf