Merge "Don't relayout based on a window that isn't visible" into lmp-mr1-modular-dev

This commit is contained in:
Craig Mautner
2015-02-11 22:27:03 +00:00
committed by Android (Google) Code Review

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 {