am 20583ff9: Fix issue #2015611: layering problem when moving an activity to the foreground.

Merge commit '20583ff9d49257bd4ccc60e7b6337661e34ed887'

* commit '20583ff9d49257bd4ccc60e7b6337661e34ed887':
  Fix issue #2015611: layering problem when moving an activity to the foreground.
This commit is contained in:
Dianne Hackborn
2009-07-27 22:14:41 -07:00
committed by Android Git Automerger

View File

@@ -8231,7 +8231,9 @@ public class WindowManagerService extends IWindowManager.Stub
// This has changed the visibility of windows, so perform
// a new layout to get them all up-to-date.
mLayoutNeeded = true;
moveInputMethodWindowsIfNeededLocked(true);
if (!moveInputMethodWindowsIfNeededLocked(true)) {
assignLayersLocked();
}
performLayoutLockedInner();
updateFocusedWindowLocked(UPDATE_FOCUS_PLACING_SURFACES);