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

Commit 863a0598 authored by Sally Qi's avatar Sally Qi Committed by Android (Google) Code Review
Browse files

Merge "[Lut screenshot] release the fd to gui::DisplayLuts instance." into main

parents a1902016 602fe7ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ ScreenCaptureOutput::generateClientCompositionRequests(
                            static_cast<int32_t>(aidlLuts.lutProperties[j].samplingKeys[0]));
                }
                layer.luts = std::make_shared<gui::DisplayLuts>(base::unique_fd(
                                                                        aidlLuts.pfd.dup().get()),
                                                                        aidlLuts.pfd.release()),
                                                                offsets, dimensions, sizes, keys);
            }
        }