Hover: exclude from lock screen (1/2)

Enable/disable hover notifications from lock screen

Change-Id: I9235d8dac32359dff692f6f9c821c715fefe9cde
HOVER: swipe right to dismiss only from hover anb left to dismiss from all (hover, status bar and notfication drawer)

- Minor change since all code was done by @kufikugel in Slim Head Up and the method was already changed by me to fit their code.
Again a BIG thanks to him!

Change-Id: I688970e2013ca899bb050c61d2f7cea299298cd9
QuickSettings : Register/unregister cast tile one time

Don't do these operations every time the parent is visible/invisible,
it causes jank.

Repro:

Turn on wifi on a network w/ chromecast
Swipe down quick settings panel really fast

Change-Id: I3dfcd3610abe96e1bfdab06ef3b876ccf5140ceb
Merge "QuickSettings : Register/unregister cast tile one time" into kitkat3
Workaround to update PIE resources on theme changes without need to reboot or eneble/disable

- Here we dettach and attach PIE to simulate disable/enable action

Change-Id: I201178f35b8baafeb1608536e7e3b517662330e9
Merge "Workaround to update PIE resources on theme changes without need to reboot or eneble/disable" into kitkat3
SlimActions: Attempt to fix preloads with PIE in slimroms recent panel

- Do all related with recent panel when "action.equals(ButtonsConstants.ACTION_RECENTS" in a attempt to fix sometimes blank slimroms recent panel in preloads using PIE. SlimActions.java dictates PIE key actions

Change-Id: Id2a917d6f1b627002f2649aac39714369dd533ed
Merge "SlimActions: Attempt to fix preloads with PIE in slimroms recent panel" into kitkat3
HOVER: touch to hide (1/2)

- Allow users to configure touching outside to instant hide HOVER notifications

PS: This commit brings back the -> private static final int LONG_FADE_OUT_DELAY along with a new simple method public void startFiveSecHideCountdown(). While i was working on this feature i've noted a bad behavior in hover notification timeout implementation thats was if we just set, for example 15 seconds of timeout, the touch outside would read this as hide timeout in expanded hover notifications. 3 or 5 seconds are good but anything above that is too much. Back to normal with the new method fixing 5 seconds as the maximum

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/notification/Hover.java

Change-Id: I55df8d73c2270c55e7eeea0c7c77bc98c761429d
Merge "HOVER: touch to hide (1/2)" into kitkat3
SystemUI: Replace CompassTile RotateAnimation with tweening

Change-Id: I53b2155232122ae5dbed611db3865e0ffdbde37e
Merge "SystemUI: Replace CompassTile RotateAnimation with tweening" into kitkat3
Move 3rd party wallpaper pickers to the front

This is a feature request from Steve so here you go!

Change-Id: Iac6a26c7b51752d65026a871712c3590caa926d9
Merge "Move 3rd party wallpaper pickers to the front" into kitkat3
Include default wallpaper in LockscreenWallpaperPickerActivity

Change-Id: I0e3d46688bdb257bc32e10d9255dfc4fbf7beb4c
Merge "Include default wallpaper in LockscreenWallpaperPickerActivity" into kitkat3
Proximity : Check proximity flags only if from native

Change-Id: Id1be619e638de6a45252d8390eab6e38bd5de5a7
Merge "Proximity : Check proximity flags only if from native" into kitkat3
Ensure to add Persistent Apps to LruProcess List on app restart

This change will ensure to add Persistent Apps to mLruProcesses
if not already present while restarting.Previously, on some
occasions, the process was not getting added to the list
resulting in SecurityException as this process was not found
in the mLruProcesses.

Change-Id: I26813a794e01aae316dffd3cf2bb38ab66ac69a9
Merge "Ensure to add Persistent Apps to LruProcess List on app restart" into kitkat3