Merge "Don't relayout based on a window that isn't visible" into lmp-mr1-modular-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
18d836b618
@@ -542,9 +542,9 @@ class WindowStateAnimator {
|
|||||||
mDrawState = READY_TO_SHOW;
|
mDrawState = READY_TO_SHOW;
|
||||||
final AppWindowToken atoken = mWin.mAppToken;
|
final AppWindowToken atoken = mWin.mAppToken;
|
||||||
if (atoken == null || atoken.allDrawn || mWin.mAttrs.type == TYPE_APPLICATION_STARTING) {
|
if (atoken == null || atoken.allDrawn || mWin.mAttrs.type == TYPE_APPLICATION_STARTING) {
|
||||||
performShowLocked();
|
return performShowLocked();
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static class SurfaceTrace extends SurfaceControl {
|
static class SurfaceTrace extends SurfaceControl {
|
||||||
|
|||||||
Reference in New Issue
Block a user