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

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

View File

@@ -538,9 +538,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 {