Floating Window: bring in line with PA

Thanx to cristianomatos
Kill floating activities running in the same thread when tapping outside

 This change makes all activities from the same app to be
 finished when we tap outside the halo window. Other apps running in different
 threads (floating or not) won't be finished.

Port from here: ParanoidAndroid/android_frameworks_base@f489f45

Change-Id: I9a6080d8e509089197c27ba415bf1f93bf74cd30
HALO: update halo resources on status bar recreation.

- This commit update the state of halo exoanded status bar icon on theme changes

Change-Id: I9775d9e41fc8df452a0e8db6807a8dd099d22868
Floating Window: launch from notification panel

Making in line with PA commit
Fix for launch app in floating mode from recents

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