Merge "Make SurfaceView layers captured by screenshotApplications()"
This commit is contained in:
@@ -5371,8 +5371,7 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
|
|
||||||
// We keep on including windows until we go past a full-screen
|
// We keep on including windows until we go past a full-screen
|
||||||
// window.
|
// window.
|
||||||
boolean fullscreen = ws.isFullscreen(dw, dh);
|
including = !ws.mIsImWindow && !ws.isFullscreen(dw, dh);
|
||||||
including = !ws.mIsImWindow && !fullscreen;
|
|
||||||
|
|
||||||
final WindowStateAnimator winAnim = ws.mWinAnimator;
|
final WindowStateAnimator winAnim = ws.mWinAnimator;
|
||||||
if (maxLayer < winAnim.mSurfaceLayer) {
|
if (maxLayer < winAnim.mSurfaceLayer) {
|
||||||
@@ -5397,11 +5396,6 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
ws.isDisplayedLw()) {
|
ws.isDisplayedLw()) {
|
||||||
screenshotReady = true;
|
screenshotReady = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fullscreen) {
|
|
||||||
// No point in continuing down through windows.
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (appToken != null && appWin == null) {
|
if (appToken != null && appWin == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user