SettingsProvider: Migrate STATS_COLLECTION to secure.

  Migrate STATS_COLLECTION to secure from system table while
  retaining the user preference. Moving it to secure allows us
  to do per-user settings.

Change-Id: Ia55fdd8c6db418c4eaebf17a54b765d25a878471
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

Conflicts:
	core/java/android/provider/Settings.java
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
SystemUI: make long pressing recent switch to last app

With this patch, long pressing the recents key on the navigation bar
will attempt to switch to your last application in the activity stack
before the active one.

The user's current home launcher package is ignored as well as SystemUI (so that
RecentsActivity does not influence the behavior).

Change-Id: I38771e0fce16b55bb5186af47115b4e812cb60b0
Signed-off-by: Roman Birg <roman@cyngn.com>
Signed-off-by: Adnan Begovic <adnan@cyngn.com>
frameworks: allow last app action to be assigned to hardware keys

Also fix multi-user handling for 'switch to last app' and 'kill
foreground app' actions.

Change-Id: I1fb586d19b1198e6888b0f11e0a2813acf0bcd5b
Signed-off-by: Roman Birg <roman@cyngn.com>
Signed-off-by: Danny Baumann <dannybaumann@web.de>
Signed-off-by: Adnan Begovic <adnan@cyngn.com>
Frameworks: Pin shuffler - fix wrong default value

lol

Change-Id: Ie22e7b402c7c458a90c30ea999190c6c6890036b
Frameworks: inital bringup of slim actions and helper classes

Bring back slimactions.

- Most actions are available and adapted to LP (mainly statusbar actions we did on kk need to be ported back again)
- Cleanup of old code
- Renamed classes and methods

and more.....

This is the base for all the comming features now

Change-Id: I0b4458325e248319217b8e41b64e2cf1e45f56cd

Conflicts:
	core/java/com/android/internal/util/crdroid/SlimActionConstants.java
	core/java/com/android/internal/util/slim/ActionConstants.java
	core/java/com/android/internal/util/slim/SlimActionConstants.java
Frameworks: add all slim shortcut image resources

Importing for now the old one from KitKat. Graphics group is currently
vectorizing and revamping all. When they are finished we overwrite them and
add xxxhdpi ones as well.

Doing this now due that it is stopping the progress on a bunch of features right now

And a small method renaming to be inline with the other methods

Change-Id: If07e2ae19a45712cd537389069d912cf425e9156
Frameworks: Keyguard - Add user configurable shortcuts
Frameworks: moar shortcut icons by Sven R.

Change-Id: I7d29a044ce2b928cac33bb6482604a984a2e1740
Frameworks: add ability to send a custom intent after keyguard is finished

We have and will have some features which need to start intents after the user
has sucessfully entered the credentials. Add for the system public available method
to start an avtivity after the keyguard.

Add as well support on slim Action for it so that our features actually can use this.

Change-Id: I65b32dab7986f8d71a3a94597324412847e4e138
frameworks: add keyguard wallpaper functionality to WallpaperManager

Adapted for cm-12.

Change-Id: I0eb1b5578b705c2ade4c0772fa86e09478b9f73e
Signed-off-by: Roman Birg <roman@cyngn.com>
Frameworks: rest of shortcut icons by Sven R.

Change-Id: Ibbf7899e89906530c169c5e24d803aedfcbeb038
FB: Keyguard RU Translations
Merge pull request #1 from Pixelase/cm-12.0

FB: Keyguard RU Translations
Move CAF strings

Change-Id: I5d8bbf7075d1d24391bbbf0d190a33cc097c40a6