Merge "Do not apply stack bounds if the window is above lockscreen" into nyc-dev

This commit is contained in:
Chong Zhang
2016-02-27 00:53:46 +00:00
committed by Android (Google) Code Review

View File

@@ -1223,6 +1223,11 @@ class WindowStateAnimator {
return;
}
final WindowState winShowWhenLocked = (WindowState) mPolicy.getWinShowWhenLockedLw();
if (w == winShowWhenLocked) {
return;
}
final TaskStack stack = task.mStack;
stack.getDimBounds(mTmpStackBounds);
// When we resize we use the big surface approach, which means we can't trust the