Add back a helper pref that holds a system setting.

Change-Id: I7d8978829bde1f1dd15bf59f464557f64aa07beb

(cherry picked from commit 5a51eab743fd3c675c20e6662aa1da7969f2964b)
Add Buttons settings drawable

Change-Id: I8a684dafc823e580d855ed608130fd14f8684cd9

(cherry picked from commit 24de8f52e438ffeb9eda071fe066d71c3d00d1cb)
Development Settings: Reenable Nuplayer

* Nuplayer is now the default in Lollipop, do not uncheck the setting when disabling developer options.

Change-Id: Ic47365192404a866434630a7a4f2f669b8f80233

Conflicts:
	src/com/android/settings/DevelopmentSettings.java
bugfix: there are other options after in-app search

On "Settings -> Buttons -> Home Button -> Long press action" there's
a list of options. Any option after the "in-app search" one was being
ignored.

Change-Id: I136235a6798496a0a8786bad59b168845c677bdd
Display Settings: Better font size control

Use a SeekBar instead of a list/spinner to determine the font scaling.
For consistency, an approximate size (small, normal, etc.)
 and the exact percentage are displayed.
Show a preview of the selected font size immediately

Ported from CM 10.2, squashed commits 46678 and 49167.
Credit to Veeti Paaananen for the latter commit.

Change-Id: I754d7fdcaf27c23dfccf9d56291956e70b23f63e

Conflicts:
	res/values/cm_strings.xml
Add consistency: SwitchPerferences over CheckboxPreferences

- Developer Settings
- Accessibility
- Date and Time
- Button Settings

Change-Id: I830adeb7dfd94726594b9d7879776c6717bed3b9
Settings: Add per app controls for LP keyguard notifications (2/2)

Nice done by google but the UX is a problem especially for ppl who are using a lot apps and just want
to see from important apps the notifications on the lockscreen.

This commit adds the ability to

- enable/disable per app the keyguard notification at all
- enable/disable per app ongoing notifications on the keyguard

We handle this over the app policy conf file like the other per app notification options

Change-Id: Ie4966f9048718c080571935796258625413f7344

(cherry picked from commit 4c77d39a4cd5ea6c27dab7c5a44ca7eae30aa435)
Settings: Add Advanced reboot (2 of 2 from cm)

This commit adds a setting in Development settings for including options
in the power menu for rebooting into recovery or bootloader, defauled to
off.

When enabled, the Advanced reboot options will only be available once the
device is unlocked.

Change-Id: Ib77f0be178d15131b99adbe0abb6ba18b2b7c0b6

From: jackmu95 <jacob.mueller.elz@gmail.com>
Settings: Move 'Advanced reboot' to other position

This commit moves the 'Advanced reboot' checkbox one item down
because it looks a bit strange as first element in the list IMHO.

Before: http://goo.gl/jhw8h
After:  http://goo.gl/X3H68

Change-Id: I26d4a5caba3e720b952ec405e200c1528f7a7321

From: ThiagoVinicius <thiagovfar@gmail.com>
Development Settings: fix setting reset on disable

When Development Settings are disabled, some settings are
reset to values other than the default. This fixes it.

 - No need to have resetAdvancedReboot(), as it is already
   reset by the "unckeck all checkboxes" logic.

Change-Id: If5d88d220d2a17d6e172b2f54facd4afa3bae904
Signed-off-by: cj360 <ayunker551@gmail.com>

Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/DevelopmentSettings.java
Development Settings: fix Advanced reboot not being updated on resume
from: https://github.com/CyanogenMod/android_packages_apps_Settings/commit/035be0c83a688443887275a75cd30ab53775bbef

Change-Id: Iae025ef5426440e72097d67b5e5c3203f4f159d5
Signed-off-by: cj360 <ayunker551@gmail.com>
Settings: last app action in long press

Change-Id: I72d9cb5bca5eedd20ea80ee69d370a478e59def4
Signed-off-by: cj360 <ayunker551@gmail.com>

Conflicts:
	src/com/android/settings/ButtonSettings.java