Fix GPS Tile

Credits to kufikugel, https://github.com/SlimRoms/frameworks_base/commit/8771828d85593907063d15c5181c5a2c49bf445b

It always shows "Location off" on every reboot
Only able to switch between Location off <-> Device only, Battery saving <-> Location off

remove unused string
click to turn it on/off, long click to switch between three states

Change-Id: I2f1d122a8901229e37b4ea1461f52f7c4cdc9633
Frameworks: Fix linked volume does not persist after reboot.

The controling boolean value must be set before updateStreamVolumeAlias
is called first time. Otherwise updateStreamVolumeAlias will assume
it is always false till user toggle it in settings again.

Change-Id: I53455249909fa6ad69fa0ea6930f9065e5a14fdf
base: Add a key combo to start/stop video recording

Press volume up and power to start recording a video of your screen.
Press this key combo again to stop it.

Change-Id: Id0b13ba1092a1d6e0bf7bff5f14d89764cdf370c
Screenrecord: Create the Screenshots directory if it doesn't exist

Change-Id: I2b0458eed024dbda97e9e1ea3426c12d29add781
SystemUI: Add RECORD_AUDIO permission

Change-Id: I5af3cbe31f182c8b5cf1633aaf8a16db2856a425
SystemUI: Add missing sound permissions for screen recording

Change-Id: If948aabfd5c2e09f192f12aa02830d39346d2c6c
Add global action for screen recording. [1/2]

PS4:
Send record screen broadcast instead of using the service
directly.

Change-Id: Ie6d4655b074992075df0060d23c758f2af06387e
Screenrecord: Allow setting bitrate, screen size (1/2)

Also changes default output folder

Credits to 0xD34D

Change-Id: I33c7c296040345271560f72765e07f85cdefd805
Frameworks: Respect and handle shorcut custom icon resources (1/2)

If a activity shorcut has an extra icon resource or drawable we need to handle
it. Fix this for all out shortcut features. Most is centralized so a small change

Change-Id: I4f1b78e5979e23f5edd0c670510ab5d718710a93
Halo: Modify behavior

Don't ping when halo got "silent" notifications.

Also delay 10 sec before initializing Halo
or it'll never ping when receiving any notifications.
I don't know why this bug occurs.

Change-Id: I54d16d8aefbf173e6edcdf4f2fc3e6cbf6f55420
Floating window: Enable transparent layer

Halo: Re-enable transparent layer

Change-Id: I3af24ed40314ca5edb1e5157c0ad9df8ac89c99f

App sidebar: enable transparent layer for floating apps

+ cleanup

Change-Id: I6ae8209f7d7839c78840e69bc9597d43fbedc790

enable transparent layer on notification long click

Change-Id: I058a19776bd90d964b5d5df4fcf251c784b3ba8c
Fix Floating window bug

1. any app in recent apps + launch floating app in home screen
2. close floating app
3. last app in recent apps will launch and close in 0.5 sec

Change-Id: I6fa8605b431ae8f82ca6be34a8fc4b9cab407c9a
Frameworks: notify arrayadapter early that data has changed on clear all

Recent clear all. Current behaviour is that we do not update the array adapter at all
due that it gets rebuild on next reload. But in very rare cases it happens that getView
want to update shortly after all is cleared althought the view is not visible anymore.

Whatever just call notifyDataSetChanged after List is cleared to work against it.

Change-Id: I61ca25358ebe164336ba349565459537861c5495
Frameworks: do not kill favorite recent apps

Due of a lot user requests and I basically like the idea (not a fan of clear all apps at all
due that it does not make sense android wise) we ehance the favorite recent apps feature.

This commit basically does not remove the apps from the task list which were marked from the user
as favorite.

3 possibilities:

- No favorites are in the task list - clear all behaves like it was before - all tasks cleared and panel closes

- favorites and non favorites are in the task list - clear all removes all non favorite tasks and favorite tasks stay.
  Yes without fancy animations....we want to be fast ;) - panel stays open

- only favorites are in the list - pinch to zoom out is blocked due that nothing is there to clear all.

single clear of a task with swipe behaves in all cases normal like it was before this change

Change-Id: Ia05562e0f59dfb023aa65ec3a40dd951594dc88e
Framework: QuickRecord Tile (1/2)

Images by kroz (thanks!)
Change-Id: I22f9de88d401a777e987ec2c1bbbf599dc840d5d
Fliptile animation: QuickRecord Tile

Change-Id: I0ad1c0d504011dec2add2bcacbfdefe37dda695e
SlimPie: turn on HA on highEndGfx devices

for smoother experience

Change-Id: Ie2a052e1071a8ab7ea303b6a8d21e245658bec2b
trds: remove default wallpaper

Change-Id: I8af21c4f0a1da130c32811b1c951c00316a88d9d
Fix Lockscreen Blur Rotation

reset mLastRotation value on every recreate.

Change-Id: Id09ab65d8668ffb1f146e00d6ee2ec8ec09012fb
Fix Lockscreen Notification Button Landscape Layout

Change-Id: I77bd00aed6ced4d2f422801ed22bf1cb5168dc09