Toggles: fix initial bluetooth icon

Change-Id: I7ceb1e382dce07bd4ccca0777535e49015a16070
Signed-off-by: Roman Birg <romanbirg@gmail.com>
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>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
Only show "charging" if the battery is really charging.

If there's a charge problem (battery health/temperature out
of spec, or low charging current), the lockscreen and status
bar should not indicate that charging is occurring.

(Previously we showed "Charging" and a lightning bolt any
time the device was plugged in.)

Bug: 7509976
Change-Id: I27ec0e2cec1307fbc6ef262dd5181a4db6d3bed0

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardMessageArea.java