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

Commit f26ae22b authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[Lut] Dup the pfd instead of releasing it in parseSetDisplayLuts." into main

parents a43655c0 b3ad3b24
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -270,7 +270,7 @@ class ComposerClientReader {
        for (auto& [layerId, luts] : displayLuts.layerLuts) {
            if (luts.pfd.get() >= 0) {
                data.layerLuts.push_back(
                        {layerId, Luts{ndk::ScopedFileDescriptor(luts.pfd.release()), luts.offsets,
                        {layerId, Luts{ndk::ScopedFileDescriptor(dup(luts.pfd.get())), luts.offsets,
                                       luts.lutProperties}});
            }
        }