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

Commit ca84a0f0 authored by Ryan Prichard's avatar Ryan Prichard Committed by Automerger Merge Worker
Browse files

RESTRICT AUTOMERGE: Explicitly ignore the result of std::async am: c8512110

parents e3baf563 c8512110
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6755,7 +6755,7 @@ ftl::SharedFuture<FenceResult> SurfaceFlinger::captureScreenCommon(
        if (captureListener) {
            // TODO: The future returned by std::async blocks the main thread. Return a chain of
            // futures to the Binder thread instead.
            std::async([=]() mutable {
            (void)std::async([=]() mutable {
                ATRACE_NAME("captureListener is nonnull!");
                auto fenceResult = renderFuture.get();
                // TODO(b/232535621): Change ScreenCaptureResults to store a FenceResult.