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
(cherry picked from commit 67b35fe08c569bf7f8a4a0d7ced11feaf190e136)
Frameworks: Pin shuffler - fix wrong default value

lol

Change-Id: Ie22e7b402c7c458a90c30ea999190c6c6890036b
(cherry picked from commit 96702c6f57684eecbd41ac9e538e2f33615f2cb5)
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
(cherry picked from commit dbaefbebcc36711c574a4bed9f15aa105203e781)
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>
(cherry picked from commit 0e9c5a374b6e1b2e680df4993968c3f665ce7a9d)
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>
(cherry picked from commit 0d3ba5d8da6615f4bdedec04f1ab82ce166ed014)
Frameworks: rest of shortcut icons by Sven R.

Change-Id: Ibbf7899e89906530c169c5e24d803aedfcbeb038
(cherry picked from commit 8deaeaf6386d9842b4e7aa699435cf5583678215)