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:
@@ -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