Toggle rewrite (1/2)

Change-Id: I80ef0c3f1cbe8e0d35c7a4e4111ad22b96196963
Toggles: cleanup class and quiet down logging

Change-Id: I39f1382ee2d340a2d2676aa85e6fbc6641bb3c61
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Toggles: fix initial bluetooth icon

Change-Id: I7ceb1e382dce07bd4ccca0777535e49015a16070
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Keyguard: fix nasty file handle leak

Change-Id: I47d58392d9d00a2cb843cf8bd51d6390ad1334a7
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
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>