frameworks/base/: Fix black wallpaper issue when home pressed.

In the specified usecase, there is a completely new set of
windows that appear on the screen during rotation. And the
existing code in the framework ignores the drawstate of the
hidden windows.

Wait till the drawState is ready for the hidden windows also.

CRs-Fixed: 521758

Change-Id: Ibd96502059c84210ad84ecb03aac5eca28f3c9fe
Core: Disable fullscreen keyboard.

* Hardcode the keyboard in landscape mode avoiding going full screen.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS5:

* Add missing sem-colon, always forget it :)

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I290d17571204c753382873ca15b98a3ab5917765
Memory leak in IInputMethodSessionWrapper executeMessage

In some cases the executeMessage is called with
mInputMethodSession == null. For the messages

DO_UPDATE_SELECTION, DO_APP_PRIVATE_COMMAND

memory is leaked. This commit recycles the args freeing
the allocated memory.
PhoneWindowManager: fix navbar behavior in expanded mode after 4.4.2 merge.

Change-Id: I00f814db6c3800b8eb1cf20004ecdfb8d1ee7036

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
new default_wallpapers