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

Commit 77f8112d authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am aed35d6b: Merge "Not include fullscreen opaque window on screenshot"

* commit 'aed35d6b':
  Not include fullscreen opaque window on screenshot
parents 6c3548a9 aed35d6b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -6084,6 +6084,10 @@ public class WindowManagerService extends IWindowManager.Stub
                            ws.isDisplayedLw()) {
                        screenshotReady = true;
                    }

                    if (ws.isFullscreen(dw, dh) && ws.isOpaqueDrawn()){
                        break;
                    }
                }

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