am d4be15d5: am 588932a5: Always wait for the main app window before starting a transition

* commit 'd4be15d551f57cb13c44cac79b8b0efa1e54b4cf':
  Always wait for the main app window before starting a transition
This commit is contained in:
Jorim Jaggi
2015-07-07 19:44:21 +00:00
committed by Android Git Automerger

View File

@@ -10054,7 +10054,10 @@ public class WindowManagerService extends IWindowManager.Stub
}
winAnimator.setSurfaceBoundariesLocked(recoveringMemory);
}
// Check the draw state of the window, but only if it is visible to the user.
if (!w.isHiddenFromUserLocked()) {
final AppWindowToken atoken = w.mAppToken;
if (DEBUG_STARTING_WINDOW && atoken != null
&& w == atoken.startingWindow) {