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

* commit '4165748359bf7f66db0a553ca2310c3f6bb746a5':
  Always wait for the main app window before starting a transition
This commit is contained in:
Jorim Jaggi
2015-07-08 01:36:01 +00:00
committed by Android Git Automerger

View File

@@ -10054,7 +10054,10 @@ public class WindowManagerService extends IWindowManager.Stub
} }
winAnimator.setSurfaceBoundariesLocked(recoveringMemory); 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; final AppWindowToken atoken = w.mAppToken;
if (DEBUG_STARTING_WINDOW && atoken != null if (DEBUG_STARTING_WINDOW && atoken != null
&& w == atoken.startingWindow) { && w == atoken.startingWindow) {