[Settings] HW keys tweaks

Conflicts:
	res/values/cr_strings.xml
	res/xml/button_settings.xml
	src/com/android/settings/ButtonSettings.java

(cherry picked from commit f8882a1fc4a32ed9048130f70e42aa57e0c275ce)

Conflicts:
	res/xml/button_settings.xml
BootReceiver: remove duplicate DisplaySettings.restore(ctx);

Change-Id: I7c9130e4ba045e1a5c6db270c7301bc675a01b03

(cherry picked from commit 88739eb448302e850cffde50508c5f2659f3abfa)
Settings: Fix NPE in Superuser settings

Patch set 2:
These layout files were added with the new profiles ui commit,
they are not needed because profiles has it own, removing these fixes the npe and fc in Superuser settings

Change-Id: I5286c0ace8fff19639efd5685018b2f47e3cf361

(cherry picked from commit 2c5f8a094dff5370fd578cecf9443fb4a356a1f0)
Settings: volume wake preference

(cherry picked from commit c03e46225ae112b8e327baf4e8c759a8d6a50351)

Conflicts:
	res/values/config.xml
Add Buttons settings drawable

Change-Id: I8a684dafc823e580d855ed608130fd14f8684cd9

(cherry picked from commit 35eb4476360d6388a8fb52e7795a254de2dbbe12)
Update Profiles settings icon

Switch to vector drawables to fix blurry drawables

Change-Id: Id3f5e3ad408c4d17659d941f68853379b07c688f

(cherry picked from commit 7711ef6d24a66dbba840325eb6cbc6763082b51f)
Update the Privacy category drawable

Replace the current ones with new vector drawables

Change-Id: I27a6778d876672c78469b886e2574baa149aad80

Conflicts:
	res/drawable-hdpi/ic_settings_privacy.png
	res/drawable-mdpi/ic_settings_privacy.png
	res/drawable-xhdpi/ic_settings_privacy.png
	res/drawable-xxhdpi/ic_settings_privacy.png

(cherry picked from commit a6f315c2c77a77e5d38b35937e17914ba4f42518)
settings: Quick unlock controll 1/2

Change-Id: I5b34368a35ab5541b57189e44c28c5903e638778

Patchset: 1
https://gerrit.slimroms.net/#/c/19709/
(cherry picked from commit df349636ed6fb59bfef5ad8c6b3ffa99a8ed333c)
Superuser: Remove ACCESS_SUPERUSER permission [1/2]

I can't explain this any better than Chainfire, so for that
reason, I'm gonna go ahead and quote him:

Android 5.0 Lollipop now requires custom permissions to be
unique unless the declaring packages are signed with the
same cryptographic keys (same author, usually), or package
installation will fail. As all modern root management
packages now declare this permission, this means you cannot
easily install a different one and start using that one,
as its initial installation will fail, unless you are using
a recovery-based installer that also cleans away the old one.

So let's remove the permission

PS1: Intial commit
PS2: Rebase, test results: works

Change-Id: I7870bc6d82e1f81f168f9389be839034e4ede62d

Patchset: 3
http://review.cyanogenmod.org/#/c/80049/

(cherry picked from commit bd7b1364ded4674ec6f4c9160281e8914943d27e)
Settings: Security: implement a pin keypad shuffler [2/2]

this is to further prevent people using the tablet guessing your pin based on fingerprints left on the screen
example of the expected outcome - https://www.dropbox.com/sh/r3xb2q53ksaqni9/Oz1Eu8Dm7O

PatchSet:
- fix checkbox was wrong assigned
- enable only for PIN Password lock
- small cleanup of old code

PatchSet:
- cleanup

PatchSet:
- add modes.....disabled/always/on request

Change-Id: I225af5654c440aa16964df3257130febec6ef275
Settings: Switch needs an setOnPreferenceChangeListener

So today is derp day....another 4am morning fix.

Will stop today for sure.

Sorry again

Change-Id: I04eea381a2930995ef0f8820c0f251bc40df4820
(cherry picked from commit 5e7f91ab484a9ddd69edea7d3fced8d58a8f92bf)

Conflicts:
	src/com/android/settings/SecuritySettings.java
Battery saver: Add 10% and expand options up to 30%

(cherry picked from commit dc98c8a9e63c9a5930ab43ebacf49216962c81e8)
import CheckBoxPreference