am 18d836b6: Merge "Don\'t relayout based on a window that isn\'t visible" into lmp-mr1-modular-dev

* commit '18d836b61811270bfae8cec6e0e782234dfcf5a4':
  Don't relayout based on a window that isn't visible
This commit is contained in:
Craig Mautner
2015-02-11 23:04:12 +00:00
committed by Android Git Automerger

View File

@@ -542,9 +542,9 @@ class WindowStateAnimator {
mDrawState = READY_TO_SHOW;
final AppWindowToken atoken = mWin.mAppToken;
if (atoken == null || atoken.allDrawn || mWin.mAttrs.type == TYPE_APPLICATION_STARTING) {
performShowLocked();
return performShowLocked();
}
return true;
return false;
}
static class SurfaceTrace extends SurfaceControl {