settings: Quick unlock controll 1/2

Change-Id: I5b34368a35ab5541b57189e44c28c5903e638778
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
Fix Settings app crash for devices with no USB support.

On emulator and any device that does not support USB connection, the
Settings app crashes as soon as the user tries to view the details of
an installed app. This is because the InstalledAppDetails activity
assumes that the USB service is always started, which is no longer
true due to a change in SystemServer.java (frameworks/base, Change-Id
I6dad511c652bcacc085f27ede5f8f22a6982c6bd). Adding null checks fixes
this issue.

Change-Id: I85263fb795ee06bd61ba28ec12a7161c1f17f4cc
Signed-off-by: Yu Ning <yu.ning@intel.com>