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

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

Merge "[Lut] Add warning logs for luts" into main

parents 8be9e018 3003fe95
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);
        }
    }