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

Commit b3df1396 authored by Peiyong Lin's avatar Peiyong Lin Committed by Android (Google) Code Review
Browse files

Merge "Correctly refer to the id of ColorSpace.Named.DISPLAY_P3." into qt-dev

parents 6e5efabc e9133d5a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -136,8 +136,8 @@ public:
    // ColorSpace.Named.SRGB.ordinal() = 0;
    static constexpr jint SRGB = 0;

    // ColorSpace.Named.DISPLAY_P3.ordinal() = 6;
    static constexpr jint DISPLAY_P3 = 6;
    // ColorSpace.Named.DISPLAY_P3.ordinal() = 7;
    static constexpr jint DISPLAY_P3 = 7;
};

constexpr jint fromDataspaceToNamedColorSpaceValue(const ui::Dataspace dataspace) {