Clock: use mCalendar to get seconds

We haz teh calendar already. No need to create a new one to get the seconds.

Change-Id: Iccfc6e25367ad57a99bf27c29311e260b5e276d8
Signed-off-by: Tianrui Guo <tianrui@pac-rom.com>
base: don't show global actions if shutdown sequence was started

Change-Id: Icd77aa7529faf438dcc80e45434826465a11aab8
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Conflicts:
	core/java/android/view/WindowManagerPolicy.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java