Merge "Not include fullscreen opaque window on screenshot"

This commit is contained in:
Craig Mautner
2014-11-26 17:37:37 +00:00
committed by Gerrit Code Review

View File

@@ -6084,6 +6084,10 @@ public class WindowManagerService extends IWindowManager.Stub
ws.isDisplayedLw()) { ws.isDisplayedLw()) {
screenshotReady = true; screenshotReady = true;
} }
if (ws.isFullscreen(dw, dh) && ws.isOpaqueDrawn()){
break;
}
} }
if (appToken != null && appWin == null) { if (appToken != null && appWin == null) {