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

* commit '588932a53e63c0a7ee281dea22559c129b40eb99':
  Always wait for the main app window before starting a transition
This commit is contained in:
Jorim Jaggi
2015-07-07 19:34:15 +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) {