Make sure to not crash if DSP manager and/or development apps are
deactivated or deleted.

Change-Id: I92ea5a44bedbb036d59dde11e83052338e9765e8
First pass at generic hardware tunables support

With support for vibrator intensity and kcal

Change-Id: Ice3444b31a9ab0a25cf25bebb18351e2c08a70c3

Conflicts:
	res/values/cm_strings.xml
Display options: allow configuration of wake on plug behavior (1/2)

Adds a global setting to the Display section to enable or disable wake-on-plug.
Default is disabled.  When enabled, the device will wake when the charger
is connected or disconnected.  When disabled, the device's wake state
will be left alone.

PS 2: Change wording of setting per DvT's recommendation

PS 3: Pull default value of setting from config.xml

PS 4: Reduce scope of variable

PS 5,6: Rebase

Cherry-picked from: I779a4aa4feeca87879c932be6e1fa032e4b4afc8

Change-Id: I106b7d901a788c19e08454d6231daebf3ff4872c
Do not display volume settings if volume is fixed

When the configuration option config_useFixedVolume is true
indicating that stream volumes cannot be modified, the volume
settings submenu is not available.

Bug 8161458

Change-Id: I6d76a2f85c642778ae8c4caa7347b50f659c1def

Conflicts:
	src/com/android/settings/SoundSettings.java
Settings : Re-organize menu structure

Change-Id: I7e03f1a8e1da4545d933b91c1a50e5cf72ab4ab0

Conflicts:
	AndroidManifest.xml
	res/values-da/cm_strings.xml
	res/values-el/cm_strings.xml
	res/values-ja/cm_strings.xml
	res/values-nb/cm_strings.xml
	res/values-zh-rCN/cm_strings.xml
	src/com/android/settings/Settings.java
Button & keyboard backlight brightness adjustment (1/2)

PS2: move from display to button settings
PS3: fix tab

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I35a6d149affc1da08707b7c40fb02761321cba41
Add basic-level gamma calibration to hardware tunables

Change-Id: I3223cb111889be71175dee67723ae44cba051e23
Cleanup: Use a helper class for system setting binary toggles.

Change-Id: Iad7f8a6bf85b23223e1def18e8c9eaa0f8dd253c

Conflicts:
res/xml/blacklist_prefs.xml
res/xml/display_settings.xml
src/com/android/settings/DisplaySettings.java
src/com/android/settings/SecuritySettings.java
src/com/android/settings/blacklist/PreferenceFragment.java
Cleanup: Don't use getApplicationContext() where not needed.

Change-Id: Ie2232857cf88c98c9f2b76996a500e3d3696e6e2
Cleanup: remove useless checks.

Change-Id: I73c5c432cb384cbc28d584d751d6e9955a3eda05
Settings: Tweak strings for notification drawer auto close

Change-Id: I5aa8c8a6876aad59cf578d31edfa8a099d2dbd97

Conflicts:
	res/values/cm_strings.xml
Settings: Use US spelling of behaviour

Change-Id: I75d2f4d35e29fe9cd4da3852f2579804910a6dfc
Settings: Align Notification drawer behavior layout w design guidelines

A category is not needed for a single item - use the item title to
indicate it instead

Change-Id: Iffc78b3fd20fd29832b8f9baae322c79e4af8c87
Settings: Quick Access Ribbon (Part 2 of 2)

This patchset removes power widgets and replaces it with
a smaller version of the quick settings panel.

Change-Id: I64efeedde9511651fc747d43b9e9aa66a12f6067

Conflicts:
	res/values-ru/cm_strings.xml
Allow changing screen-off animation (2/2)

* Allow enabling/disabling screen-off animation
* Allow selection between fade & crt effects if the device allows it

Change-Id: I5ebfab22e68ea34e3babfaacd9c8103e25932d3d

Conflicts:
res/values/cm_arrays.xml
res/values/cm_strings.xml
res/xml/display_settings.xml
src/com/android/settings/DisplaySettings.java
Settings: remove screen-off animation checkbox

Instead of having a separate checkbox on whether to
enable an animation, let's collapse it into the listview
preference. Now the user is presented with 3 options:

* Disabled
* Electron beam
* Fade out

http://review.cyanogenmod.org/#/c/62865/

Ported from CM-11.0

Change-Id: I4f5f6fa1c324491a75cabc93fdef8aa91a6bae4b
Statusbar: double-tap to sleep (settings part)

http://review.cyanogenmod.org/#/c/56644/

Ported from CM-11.0

Change-Id: I62422a1d27dbcd90089db6cc1851db2d5b19b31d
Use a common base class for HW tuning sliders.

Change-Id: I61b458ffb08eb765f8a720657056243f56e76f17
Remake kb/button backlight controls as a PowerManager client

PM now has observers for these settings values and applies them in
realtime, so piggyback on those for button light management

Change-Id: I7568069bd6cacf5cbb56c8d0a1746894725b87fa

Conflicts:
	src/com/android/settings/cyanogenmod/BootReceiver.java
Add configurable kb/button backlight timeout

Adjust the value for Settings.System.BUTTON_BACKLIGHT_TIMEOUT

Change-Id: Iea534312b09b38a95185d7fc97d922b23faf29e3