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

Commit ce195770 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Merge "Don't take invisible screenshots" into oc-mr1-dev am: 6d9d42f6

am: 41fe2539

Change-Id: I75229cf1b8aafc7c8a933a9d2c7c6d4ac19e68d4
parents b32c72a7 41fe2539
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3070,7 +3070,7 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
                final boolean foundTargetWs =
                        (w.mAppToken != null && w.mAppToken.token == appToken)
                                || (mScreenshotApplicationState.appWin != null && wallpaperOnly);
                if (foundTargetWs && winAnim.getShown()) {
                if (foundTargetWs && winAnim.getShown() && winAnim.mLastAlpha > 0f) {
                    mScreenshotApplicationState.screenshotReady = true;
                }