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

Commit 4831282d authored by Alec Mouri's avatar Alec Mouri Committed by Android (Google) Code Review
Browse files

Merge "Always use seamless transition flag when capturing a transition" into main

parents 9dbf113f 8cc97685
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4150,7 +4150,9 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener {
                            .setSourceCrop(cropBounds)
                            .setCaptureSecureLayers(true)
                            .setAllowProtected(true)
                            .setHintForSeamlessTransition(isDisplayRotation)
                            // We always reroute this screenshot to the display, so this transition
                            // is ALWAYS seamless
                            .setHintForSeamlessTransition(true)
                            .build();
            ScreenCapture.ScreenshotHardwareBuffer screenshotBuffer =
                    ScreenCapture.captureLayers(captureArgs);