OSDN Git Service

Fix IME window flickering during rotation.
authorSeigo Nonaka <nona@google.com>
Wed, 17 Jun 2015 07:04:43 +0000 (16:04 +0900)
committerSeigo Nonaka <nona@google.com>
Thu, 18 Jun 2015 03:22:36 +0000 (12:22 +0900)
commitd56ec1d44479cac0820c6afe9aaa689fc47c431d
treea92d62b9d6cef21d1a005536b151fd28cde97d6f
parentc73cd407f0e886e5d0b26dda6b82d88ac9eec36a
Fix IME window flickering during rotation.

This was introduced by Ifd15736b163ab,
performLayoutAndPlaceSurfacesLocked is called even if
computeNewConfigurationLocked() returns non-null object.
This is simply by mistake and now computeNewConfigurationLocked
never returns null. The only case we need to care is that
mDisplayReady is false, but there is nothing to do with that state.

Thus simply removes if segments from computeNewConfiguration.

Bug: 20823978

Change-Id: I527dfeddffb8d928d578f8d60d64f98557aa3dcb
services/core/java/com/android/server/wm/WindowManagerService.java