Framework: AOSP Fix - starting window memory leak

If starting window is added to arrays like mViews in
WindowManagerImpl.java, but not accepted by WindowManagerService,
we leak starting windows. To avoid leaking, remove the view
from WindowManager.

Change-Id: I4d98b883e9dfaf5e71bdece385643ba1b59b2633
SystemUI: transparency mgr bug fixes

- Avoid potential NPE which crashes SysUI
- Sometimes while in the home screen pulling down a phablet panel would have delayed
    reaction and statusbar would be transparent while the panel is below it, it looks
	ugly and avoid it.

Change-Id: I5e405e34e8dec42ea0fb3dbf00910219b411f202
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Toggle bug fixes

This patch fixes:
* bluetooth not showing correct state
* battery information should retain after rearranging toggles
* tile text being cut off
* network toggle should stay updated after rearranging
* ime toggle will collapse statusbar
* wifi ap toggle states should update
* user/favorite user layout fix
* use consistent color for toggle texts

Change-Id: I7646292b88f34cd3b1e23ba615d2c571ca22cb89
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Merge "Toggle bug fixes" into jb-mr1
Final BT toggle fix!

Change-Id: I0c8f85ef87d1f359c18cab8c4d07f681fe2b5649
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1