Keydisabler: fix button light restore logic

Do not assign default button brightness if backup key is not found.
Instead do nothing. This will prevent brightness being reset to default
on boot when navbar is disabled.

If backup key is not found when actually toggling navbar then we've got
bigger problems.

Change-Id: I649bf1480a42f2cbe94d0a47a0c6055c934b4f56

(cherry picked from commit c6321e6c151ac3cf3e668483e557e303e4292d5e)

(cherry picked from commit 6a1df5e381dabac97ddda640c595a91cf6138387)

(cherry picked from commit 038c18615f9dc63ef4862ea4e2cf721ea381a9ef)
Fix exception being thrown if CMHW is not installed.
Happens during debugging when mmp'ing the app.

Change-Id: Ief84a812696ef3f2515701790f96649cbde0f7d9

@alviteri: Adapted to crDroid

(cherry picked from commit ebf9120b74bc22a40c002a1bfd01379451c09b42)

(cherry picked from commit b77f0f030df66619aac02ecbdeaa590038597807)

(cherry picked from commit db719e7a5d6ba67c4b7db7e03a8d1e419351a9e6)
Settings: Change 'Model Number' to 'Model Name'

Most devices have the Model Number set to something like 'One' rather
than 'PN072', therefore they are using the Model Name not the Model
Number. Therefore, either every device should update to properly refer
to the Model Number, or we should update Settings to correctly state
that it is the Model Name.

Change-Id: I70981d3a46e7a7e26f4bfcb6c5d768a00314e3b9

(cherry picked from commit c801d5ca970c152639ab698158576ab4b695e64b)

(cherry picked from commit d80994822ca4dfa52f35f393fc443aabc18d9e4d)

(cherry picked from commit 8dc2ce21b8715b682855a391b73a30c67a051fb0)
Settings: Move quickboot preference under advanced reboot

Change-Id: I8739768cdef9a8d2b07769bba15356de567ac114

(cherry picked from commit bcc79af755d63a8a2cbb5376dc3640d547beb71d)

(cherry picked from commit 154da15285b30fc49844ee9870e058d11b5b72ac)

(cherry picked from commit 9a7c076702cf8e18c593c722558f2dd2176bffc6)
Forward port 'Swap volume buttons' (3/3)

Change-Id: I44a2b37b95848fff24c53c4c3561a3c000c487a1

(cherry picked from commit 8a0cdd256cc87a50b2eb1f2bf47ccbf2cdf3fcfa)

(cherry picked from commit e11493e196d2ea95ed311f624a90c02c40c45066)
Settings : date and Time - Checkbox --> Switches

Changes Date & Time Settings from checkboxes to on/off switches, as
recommended: http://developer.android.com/design/building-blocks/switches.html
This also adds some more design consistency.

Change-Id: I1e7848ae46859161f45a3a952e5a8d06ad52a023

(cherry picked from commit 4e3120eac3f9f44bd50b5b4a863f2378e72d36a7)

(cherry picked from commit 8f7fa6ca3c07cb0d3ebd5c26c6d98a08a2187720)

(cherry picked from commit dfefc408257ec03a84f702f1e2aab84373dc0f44)
Add missing isKeyDisablerSupported() method and fix the build after this commit: https://github.com/crdroidandroid/android_packages_apps_Settings/commit/ebf9120b74bc22a40c002a1bfd01379451c09b42

(cherry picked from commit f80e5684dac1bf68b8f4f719b90eb35cd140c6f9)

(cherry picked from commit 920dcaec6e1c4c660336f2fbd1db846229694597)

(cherry picked from commit 9ce5cc72dd8f9764417bdf324d81fdff65726314)
add slim SeekBar

(cherry picked from commit 7276cd0a4f7ec452d62dde56d819fd0e62bfd02f)

(cherry picked from commit a4e39ce85fa02a1f5a54a50b67de0d7f0d994340)
AOKP custom system animations (2/2)

Work by AOKP team and some minor string, code formats and switch instead of checkbox by @cristianomatos @crdroidandroid

(cherry picked from commit a5e0daa3ad1f5e3b9e961fece20ffde2cb5ea54f)

(cherry picked from commit 935c5b224e5e10fcd7f6d00a489ecd67bad145e5)
AOKP animations: Add and entry for TRANSIT_TASK_OPEN_BEHIND [2/2]

(cherry picked from commit 375de89e1fd5139e39b6f264aa828d800a1fbe0a)

(cherry picked from commit 73920e71d18bfbf944c7b65a3cb8b6e0cab7aa08)
house keeping