HeadsUp: Option to launch in floating window [1/2]

Change-Id: I1721e3fc8cf385cd4d90f407f882830dd29d58b8
Fix possible NPE in SyncHandler.onBootCompleted()

If onBootCompleted() was called a second time, it would have throw a
NullPointerException since the queue object would have already been
set to null by the previous call. This commit just makes such an
object behave as an empty queue instead of throwing the exception.

Change-Id: I7ef82ba1e2504ceb0a2c11694d32f0588db7d0af
SystemUI: Fix potential NPE

Does already cause issues on some Halo ports to other ROMs.
Might not cause issues on PA (yet), but better safe than sorry.

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

Change-Id: I4483e63a03b31d11e0c7e6ba91bc6e3511d490f9
SystemUI: fix slim heads up FC
Proximity Sensor: Do it the CM way...

Change-Id: I6e0407e83ada267eccfdbab0adc7276535ea2bc7