AudioService: fix safe volume enforced even when disabled

On onConfigureSafeVolume, the proper API was not used, leading
to the setting not being respected. Sometimes after boot, the
heaadset volume will be set back to the safe volume.

Change-Id: I5ba8bb1a18ce97ed64646663c7e75cb277356778
power: Add CPU boosting interface

 * Boosts CPU using Power HAL for the given duration.
 * Duration is given in microseconds.
 * Power HAL must implement POWER_HINT_CPU_BOOST.

Change-Id: Ic79baf7e3d0f75483c2fe8a242b4c3d93368b68b

Conflicts:
	services/jni/com_android_server_power_PowerManagerService.cpp

Change-Id: Ic79baf7e3d0f75483c2fe8a242b4c3d93368b68b
PowerManagerService: Implement setButtonBrightnessOverrideFromWindowManager method

Differs from Android 4.1 (and earlier) implementation in that the
overridden button light still turns off after BUTTON_ON_DURATION instead of
staying on until screen off.  However, button lights are annoying, and
really the purpose of this is to allow apps (e.g., Screen Filter) to
_disable_ the button lights altogether.

Change-Id: If0639dbe01134b72b05fee7f8cd9368dc9a71e4f
Keyboard light: Fix the physical keyboard not light when it's visiable.

Change-Id: I595afd3cb6b422a17ae0f6ec20aa51979db13810
Add PowerManager integration for button and keyboard backlight.

Allows setting button and keyboard backlight brightness as well as
button timeout.

Change-Id: I550cccafc0a8f90d6347de9261adb26b75955cc4

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/power/PowerManagerService.java

Conflicts:
	core/java/android/os/PowerManager.java

Change-Id: I550cccafc0a8f90d6347de9261adb26b75955cc4
HardKey light:
if using the hardkey lights only, without the keyBoard patches you MUST use this patch or else your build will FAIL

Change-Id: Ic6b11dba73e7b7d1b76434f1c6e0b813c7cb5409
Add CPU boosting hooks

 * Send boost hint during scrolling
 * Still relevant on even high-end hardware

Change-Id: I72f2c2851b01fbceabddead03a4c3a7a0526ca61
MediaFile: support more media types

Change-Id: Ib3109c5ebc762b97e45bd0bb5fa82ad77b0e6822
Merge "Add CPU boosting hooks" into kk4.4-caf
SystemUI: Pimp-up QuickRecord Tile

PS2: Don't close dialog on deletion,
	keep active but notify
	user that file was deleted.

Change-Id: Iafef30a7f75b7131cc8779784bff1ef9f7042fac
SystemUI: Battery View Fixes

Fix inconsistent battery tile showing
	if battery is disabled in statusbar

PS2: Immediate update on inflate

Change-Id: I84618fb585eb700409932177041fa8ca3cadf92a
Framework: Allow All Widgets On Keyguard (1/2)

Change-Id: I2f25d403740a9ee8822c684436bc28283c356f6c
fb: translation - RU

Iafef30a7f75b7131cc8779784bff1ef9f7042fac

Change-Id: Id157621347ca4e2177403d5505cee405ee945aa6
FB:  Add transparency to Glowpad background [2/3]

Adds the option to make glowpad view background transparent on incoming call so the caller's entire picture can be seen.

PS3: Fix File Permissions

Change-Id: I0c6d883b86f05055fbf5865ea98f6cb144da7b27
Framework: Pulse Torch On Incoming Call (4/4)

Move our SliderPreference to framework for
	global usage

Add some torch constants

Add Settings entries

Change-Id: I3bf8e3d140ef507e2a72e3abbdad6ec1603dfbc3
fb: translation - RU

I3bf8e3d140ef507e2a72e3abbdad6ec1603dfbc3

Change-Id: I994a04555dd0666fd8204c7dedd67b15272f5f8c
Framework: More shake sensitivity adjustments (1/2)

Change-Id: I99b2c5577455e4b3c9c8bdac7cea94291182376b
Framework changes for moving applications to external volume

* Add static functions for retrieving external apps volume information
* Determine external apps volume using the 'externalApps' attribute in
  storage_list.xml
* Allow moving applications to an external volume regardless if the
  internal storage is emulated or not
* Check if app moving is disabled

Thanks to Pierre-Hugues Husson for identifying an issue causing the
SD card state to be incorrect (ie. SD card appearing unmounted when a
USB drive is unplugged)

Change-Id: I5561c2cf3f558b729c89663852173a532994a47a
frameworks: Add class for changing app moving setting

Change-Id: Ic9f0eed496f014fdc110946759e2041ef808e5c4
Fix DE translation derp

Change-Id: I77b4588aabb1138f74bcd3d0f7bda285c1c3d58d