Merge "Use Surface layer for Surface operation." into jb-dev

This commit is contained in:
Craig Mautner
2012-05-31 15:35:56 -07:00
committed by Android (Google) Code Review

View File

@@ -5437,8 +5437,8 @@ public class WindowManagerService extends IWindowManager.Stub
// window.
including = !ws.mIsImWindow && !ws.isFullscreen(dw, dh);
if (maxLayer < ws.mWinAnimator.mAnimLayer) {
maxLayer = ws.mWinAnimator.mAnimLayer;
if (maxLayer < ws.mWinAnimator.mSurfaceLayer) {
maxLayer = ws.mWinAnimator.mSurfaceLayer;
}
// Don't include wallpaper in bounds calculation