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

Commit 482e0235 authored by Ruben Brunk's avatar Ruben Brunk
Browse files

camera2: Force DNG previews to render with LSC map.

Bug: 17688063
Change-Id: I7f60a3465ab608a6b68d1e38493895cbd40bd7ae
parent 955e24d3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -229,7 +229,9 @@ status_t OpcodeListBuilder::addGainMap(uint32_t top,
    err = mEndianOut.write(version, 0, NELEMS(version));
    if (err != OK) return err;

    uint32_t flags = FLAG_OPTIONAL | FLAG_OPTIONAL_FOR_PREVIEW;
    // Do not include optional flag for preview, as this can have a large effect on the output.
    uint32_t flags = FLAG_OPTIONAL;

    err = mEndianOut.write(&flags, 0, 1);
    if (err != OK) return err;