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

Commit 3003fe95 authored by Sally Qi's avatar Sally Qi
Browse files

[Lut] Add warning logs for luts

Bug: 380894872
Test: builds
Flag: EXEMPT just some warning logs
Change-Id: I34fe71f305ee2d17802b2d3a5870e2273432acfb
parent a29a2d14
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -640,7 +640,15 @@ Error Display::getRequestedLuts(LayerLuts* outLuts,
                lutFileDescriptorMapper.emplace_or_replace(layer.get(),
                                                           ndk::ScopedFileDescriptor(
                                                                   layerLut.luts.pfd.release()));
            } else {
                ALOGE("getRequestedLuts: invalid luts on layer %" PRIu64 " found"
                      " on display %" PRIu64 ". pfd.get()=%d, offsets.has_value()=%d",
                      layerIds[i], mId, layerLut.luts.pfd.get(), layerLut.luts.offsets.has_value());
            }
        } else {
            ALOGE("getRequestedLuts: invalid layer %" PRIu64 " found"
                  " on display %" PRIu64,
                  layerIds[i], mId);
        }
    }