WindowManagerService: fix application transitions in expanded mode.

Change-Id: If7d3fc3ab566dedc3a5b38cd0a6dc3185f494e20

Conflicts:
	core/java/android/view/WindowManagerPolicy.java