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

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

Revert "[Lut] Dup the pfd instead of releasing it in parseSetDisplayLuts."

This reverts commit b3ad3b24.

Reason for revert: It's not a real fix.

Change-Id: I68bc08130cb36ad3df46d3ccc78c84fc4dda28a9
parent 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(dup(luts.pfd.get())), luts.offsets,
                        {layerId, Luts{ndk::ScopedFileDescriptor(luts.pfd.release()), luts.offsets,
                                       luts.lutProperties}});
            }
        }