Merge remote-tracking branch 'PA/kitkat' into remix-staging
fb: animate carrier lable when collapsing notification drawer

like we do for shortcuts....does not look well that this is the only
part which does not animate. IMO google behaviour is not the best
here

Change-Id: I9a7f4b4564e7cf87ee2477454aff0a9ae6af8e26

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fb: correct the google animation on flipping to QS to be nicer

that the carrier text on flipping to qs hides when QS is already present
is not very nice from UX perspective. Correct this behaviour to hide
it directly when the user goes into QS. Same for notification shortcuts

As well reflect this behaviour on manual flippsettings

Change-Id: Ib181bef2022b974e05ec8ebeb195e08cd41a4ffc

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fb: clean up our and AOSP code for wifi and carrier label animation

we introduced with this AOSP commit

https://github.com/SlimRoms/frameworks_base/commit/288e3ec70e866105ba61f9ebf259cad29786ad9c

the ability to keep wifi and carrier label up to date on every network
change which happens. The big advantage of this change is that all the
calls for updating the label which are present in PhoneStatusBar are not
needed anymore. We can reduce it to call only when we have animations in progress
or if notifications update and we must decide if the label is still visible or not.
This are way less animation calls then before and on clean AOSP

As well clean up some of our old code which workaround all this calls.

This commit fixes two present minor issues
- carrier label was visible behind notifications (AOSP behaviour but conflicts with our transparency settings)
- due of new updatehandling it happened sometimes that on switching to QS the label was a bit to long visible
- animations are now completly always in sync

PS:
- animate from qs to notification drawer a bit later

PS:
- simplify it more
- fix direct pulldown QS shows sometimes carrier label

Change-Id: I74b80b8b72817da460703635a027f57bb4858f32

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fb: force carrier label height on first boot

reported tester issue:
- boot up
- pull down QS before any network action was done
- carrier/wifi label is shown on qs

Expected behaviour: should not show up on QS in any cases

Fix: force hide on first statusbar construct

seems to be in rare cases this update is needed to avoid showing the carrier
label on QS on first boot up and no connection is there hence emergency label
is shown

Change-Id: I72d2ddc7767938dd2ea657bd2d976b945b1f6467

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Merge remote-tracking branch 'base/remix-staging' into legacy-staging

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java