Quicksettings: Set proper dual tiles visibility when recreating them

Every time QS are recreated, set back visibility to GONE, so after applying
a theme with transparent background QS front tile doesn't show its back one behind.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
PhoneWindowManager: Don't handle navigation bar visibility when switching to PIE

Right now when restoring full height after disabling immersive if pie mode is
on, navbar isn't showed until panel collapsing cause it should have been showed
(the view even with height zero) called by top swipe gesture that calls requestTransientBars().
Don't touch the API, cleanup old code traces and changes cause in any case navbar has height = 0
and its bottom/right gesture is disabled.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: Id05175a553aad2a5a2b36c3fe4e32a2d071dcc88

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Floating Window: Welcome back

* Port squashed jellybean floating window to kitkat.

Floating window contributors:
@drcmda
@beerbong
@D4rKn3sSyS

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Merge notification manager service changes.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: If3d6338f657915754bd6cb9cb987df62c17aa6d0
Recents: Launch as Floating App

Ported from JB 4.3
Based on hybrid (Aaron) and Halo (Jesus) implementation

Signed-off-by: Alexis Rico <sferadev@gmail.com>
Change-Id: I84f4d3928af5c6ddd96a9a173a1c24e85ff606dd
Conflicts:
	packages/SystemUI/res/values-ca/pa_strings.xml
	packages/SystemUI/res/values-es/pa_strings.xml
	packages/SystemUI/res/values/ras_strings.xml
Fix for launch app in floating mode from recents

Change-Id: I216b02a60cd46b7fef49e04fe090169c4703bcb6
Keep app when opening floating window from recents panel

Start activity asynchronously by appending it to system's
message queue to let RecentsPanelView cleanly execute
dismissAndGoBack before the floating window gets started.

Change-Id: Ie9c74b9f0b39f3aee81c62246cdcae15de83ee0d
SystemUI: prevent NPE on clear recents double press

Pressing Clear all button twice fast or while the list
is clearing but not yet fully cleared causes sysui to crash due to
mRecentTaskDescriptions being null: (http://pastebin.com/2gRFvf8k)

Change-Id: I23d10edfd336041739fe80352ee01987e671dbd7
PIE: On-The-Spot: Fix abnormal behavior when chosing ASK_LATER

Right now when chosing ask later it does not activate default immersive for that immersion.
We should call switchImmersiveGlobal() no matter what we chose on on-the-spot dialog,
also if immersive mode is disabled and is going to be activated.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>