Re-Halo visibility when no notifications option (1/2)

p1:
Unattach halo observer on window state change

p2:
hide when no notifications option

p3:
Respect mGone at halo initialization

p4:
Halo Gone: remove userhandle

p5:
Halo Gone: put back userhandle; add import for userhandle

p6: Clean some things; removed userhandle again
Numerous Halo Updates

Commits by: @drcmda

Commit descriptions below:

HALO hide bugfix, smaller numberbatch still

HALO cleanup & better drawables

HALO hiddenstate-fix + smaller numberbatch

HALO Style revamp

- speech bubbles are centered
- number batches are roundand simplified, same color as in g+
- markers appear as dots above the bubble
- hiding and dimissing triggers text hints
- couple of bugfixes

WARNING: some of the drawables are good for xhdpi only for now and must
be scaled down for the other resolutions

Change-Id: Ib656664f6f8c42b747df18d65d1e3fb40cb7480c
Some Halo color options (1/2)
HALO: show halo button in pie

Change-Id: I858ec08837559f4b2806df0ac68b8a703189b1db
HALO: keep apps in recents

Change-Id: I9ede8a1aba8d6721f077a39a31b6cc5cd8272dc2
Frameworks: privacy guard fix UI freeze

randomly sometimes the complete UI freezes when toggle
privacy guard. Move out the forcekill from syncronized to
fix it so that it kills the app when all threads are open
and they can react to the forcekill which cannot result then in unknown states

cheers

Change-Id: I81514dc5ca9149477ee747a7d90720b83f741baa
Prevent PIE recent button from changing to clear all button on lockscreen
HTML5Audio.java: Fix alignment
Add permission that allows cancelling notifications from other apps.
squashed

includes:

Notification cancellation fixes:
===
Permission should only allow cancellation of other app notifications, not enqueueing.
Fix checkapi breakage.
Don't show pinned Halo))) apps on PIE (hide count, icons and text)
Prevent notification acces via HALO on protected lockscreens
Miracast: Sink patches

Change-Id: Ia7e64b23d1795e4eca73b886110c58f319be21e0
Signed-off-by: Evan Anderson <evan1124@gmail.com>
Revert "Some Halo color options (1/2)"

This reverts commit 52709a328f2500752a4df6de222d602585029d3a.
Re-Some Halo color options (1/2)

make sure @sbradymobile retains authorship
Merge branch 'jellybean-legacy'

Conflicts:
	core/java/android/provider/Settings.java