Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 159f5340 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Make SurfaceView layers captured by screenshotApplications()"

parents cfda009a 9dc7eefa
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -5614,8 +5614,7 @@ public class WindowManagerService extends IWindowManager.Stub

                    // We keep on including windows until we go past a full-screen
                    // window.
                    boolean fullscreen = ws.isFullscreen(dw, dh);
                    including = !ws.mIsImWindow && !fullscreen;
                    including = !ws.mIsImWindow && !ws.isFullscreen(dw, dh);

                    final WindowStateAnimator winAnim = ws.mWinAnimator;
                    if (maxLayer < winAnim.mSurfaceLayer) {
@@ -5641,11 +5640,6 @@ public class WindowManagerService extends IWindowManager.Stub
                            ws.isDisplayedLw()) {
                        screenshotReady = true;
                    }

                    if (fullscreen) {
                        // No point in continuing down through windows.
                        break;
                    }
                }

                if (appToken != null && appWin == null) {