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

Commit 8b4cb55c authored by Sally Qi's avatar Sally Qi
Browse files

[SF] Add supportMixedColorSpace variables into OverlayProperties aidl

interface.

Bug: 242588489
Test: build and flash
Change-Id: I34ae0280256615538fc9b9e662f0b04dfa22cb51
parent 52363196
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -23,4 +23,6 @@ parcelable OverlayProperties {
        int[] dataspaces;
    }
    SupportedBufferCombinations[] combinations;

    boolean supportMixedColorSpaces;
}
+1 −0
Original line number Diff line number Diff line
@@ -1414,6 +1414,7 @@ status_t SurfaceFlinger::getOverlaySupport(gui::OverlayProperties* outProperties
        outCombination.dataspaces = std::move(dataspaces);
        outProperties->combinations.emplace_back(outCombination);
    }
    outProperties->supportMixedColorSpaces = aidlProperties.supportMixedColorSpaces;
    return NO_ERROR;
}