Keyguard: Enable quick unlock (1/2)

old way does not work anymore exactly like before. So adapt the idea to new LP code

Thankd DVTonder for the basic idea prior LP

PS:
- do PIN view correctly
- Hide OK button if quick unlock is enabled on PIN view

Change-Id: I86660afafb8648d36d6c135343c88afcfc5173fc
Frameworks: Policy: implement a pin keypad shuffler [1/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

- correct coding style
- added reload button

PatchSet:
- simplify shuffle code
- fix over shifting in some cases
- add reload button functionallity
- add lockscreenutils method to detect only PIN lock
  for settings
- exclude sim and simpuk PIN lock
- add drawables for reload button

PatchSet
- cleanup

PatchSet:
- fix shuffle NumKeyPad even if a theme replaces the xml
  and reload button is not present.

PatchSet:
- add mode disabled/always/on request

PatchSet:
- add nicer drawables

cheers

kufi

Ported to new keyguard package on LP

A bit rewrite of this feature + clean up and shorten aosp code

Conflicts:
	packages/Keyguard/res/layout/keyguard_pin_view.xml
	packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
	packages/Keyguard/src/com/android/keyguard/NumPadKey.java

Change-Id: I6cf23a70a24ff0d640850d35acd4584e2e8d2192
Keyguard: shuffler - be sure klondikeText is visible if needed and poke a wakelock...

if the user press the random key

Change-Id: I0f599928085f333e4f8d1ced06644c43917cc27f
Keyguard: Correctly set the visibility

What a day. Small derp due that the keyguard does not gets every time reinflated
we need to ensure that the visibilities are set correctly if the user changed the
configuration.

Sorry for 2 fix commits today

Change-Id: I2c7f4501c3ef589e515afe6d5ca07c1286bed5f3
Keyguard: Fix another derp and check against null

good night

Change-Id: Ia31af94024fa9884153015be807bfc89dc5502f7
Keyguard: do not hide confirm button if quick unlock is enabled

We need it on the views for simPin and simPuk

Change-Id: I2ad6ae78a992edd9205203409db639e862e825b3
Add support for QC's time_daemon

Enabled by BOARD_USES_QC_TIME_SERVICES=true, it requires the device
to provide its own time_daemon executable and libtime_genoff.so
proprietaries. The library should be copied by the device's setup
config to $OUT/obj/lib for linkage (and pushed to the final build,
obviously)

Change-Id: Ie6964dbe2692dc33fc04093a5b89b6922d8443c8
tethering: update connectivity intent

use immediate intent in place of delayed in order to
react promptly for underlying network changes.

Change-Id: I387d5dff7dfca01094177518a5936c6e600081f6
CRs-Fixed: 752832