Frameworks: fix notification cancel on privacy guard

new activity stack from google to handle the shiny new launcher
stuff is running on several instances. That said mPrivacyGuardPackageName
currently does not survive when going from an app into launcher. Make
it static to solve it.

Change-Id: Ic9374d2cc58cb716b086365ab8aa96ffaef44879
Merge remote-tracking branch 'upstream/kk4.4' into kk4.4

Conflicts:
	services/java/com/android/server/am/ActivityStack.java
derp
Merge remote-tracking branch 'upstream/kk4.4' into kk4.4
Add network usage stats to status bar (1/2)
PS2:
Get the time delta between updates and use that to show
average bytes per second.

Change-Id: I63771220333a32063f675e6fc38c9aadb6de4274

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout/status_bar.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/res/values/styles.xml

Conflicts:
	core/java/android/provider/Settings.java
NetStats: Don't update stats when screen is off

Also moved registering of broadcast receiver and settings
observer to onAttachedToWindow() and unregistering to
onDetachedFromWindow() to avoid these being leaked.

Change-Id: Ia131a0db65c4c762b7f28493e812f9fb21358a27
Network stats custom colors (1/2)

Change-Id: I3c95a70273b111c7776f395f7baa60a77cea95dd

Conflicts:
	core/java/android/provider/Settings.java
Network stats: Hide if there's no traffic (1/2)

Change-Id: I8b770c7ad803c063cf995e5f88c8f44e0eeae86a
QuickSettings: Invert long click and click actions

Change-Id: I49acc7d3c473debd33b2491f4dde15d185f59c52

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
QS: Add loading when toggling state, and longpress brightness

Change-Id: Ifa133e15259b45da4c625ce47b3f12209bcd1b94

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsTileView.java
QS: Add flippable tiles

This commit adds support for tiles that can be flipped to reveal
more information, as well as a two flippable tiles:
 - A Wi-Fi back tile displaying the current IP address in case
   you're connected to a Wi-Fi network. Tapping the back of the
   tile opens the tethering settings, if supported.
 - A Bluetooth back tile displaying the number of paired devices,
   and tapping it toggles discoverability.

This commit also moves the loading spinner to the BasicTile, as
it is only supported in basic_tile layout.

Change-Id: Ic08b08a97c3dd999b1915c7bb108c850a2cbcd9b

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsBasicTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsTileView.java
Clean SystemUI res folder
kill app long press back

Conflicts:
	core/res/res/values/ras_strings.xml
	core/res/res/values/symbols.xml
make kill app long press respect user current policy
clear all recents button
Merge remote-tracking branch 'upstream/kk4.4' into kk4.4

Conflicts:
	core/res/res/values/symbols.xml
Merge remote-tracking branch 'upstream/kk4.4' into kk4.4
Merge remote-tracking branch 'upstream/kk4.4' into kk4.4
Merge remote-tracking branch 'upstream/kk4.4' into kk4.4
Merge remote-tracking branch 'upstream/kk4.4' into kk4.4