[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
Update IT Translation

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

Change-Id: Iabf7613b90d84476405522c2352361d0153ec655
Revert "LockscreenNotification: update GC"

This reverts commit 18dba2a9d9f9f7f345690b5abbffdf0a384a19c8.
Revert "LockscreenNotification: default is off"

This reverts commit fe0b99e7216782a81dcf0e939f2100b1b869f8c7.
Revert "LockscreenNotification: update default value"

This reverts commit d6b3c362284331b24964a38f8ff5f4b1dcef8b10.
Revert "LockscreenNotification: Catch security exception"

This reverts commit 025264864d682bff43478d8ae58884ad48cffb51.
Revert "Lockscreen notification: Fix fc on hardware key devices"

This reverts commit 854ee16efc545c9e568718ee6b4f60f236039d81.
Revert "LN: Enable dynamic width by default"

This reverts commit e8b8efbbfaffa5a356854669d815f04f04fd2b02.
Revert "Lockscreen Notifications: derp"

This reverts commit 1fcc09d5954cfe9dcdf90da956c79530949a85c8.
Revert "Lockscreen Notifications: some fixes"

This reverts commit f2cf49e7edf279cf93a1229ca11251dd02bab7ed.
Revert "Lockscreen Notifications [1/2]"

This reverts commit 44cb53227f85d755117b278d910bbdc86663d6d0.
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
revert our dialer lookup and keep inline with mainline aospa

Change-Id: I8193d08ecea599d2a7fbcc2c9c64b450047877ed
Signed-off-by: houst0nn <houstonn@gmail.com>
Merge branch 'kitkat' of https://github.com/AOSPA/android_frameworks_base into kitkat
base: Fix screen on stats after a boot

Prior to this change, the following sequence:

  * Turn the display off
  * Issue a reboot via adb
  * Unlock the device (after rebooting) before the screen turns off

results in the screen being on but the battery stats not reflecting
this fact.

In general, the mismatch occurs when either there is no serialized
battery stats state or when it is serialized in a state where the
screen is off.

Change-Id: I17374553fae6a08a1be8fdf445967509474177a9
Merge branch 'kitkat' of github.com:AOSPA-legacy/android_frameworks_base into new