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

Commit b6f8556c authored by Jerome Gaillard's avatar Jerome Gaillard Committed by Android (Google) Code Review
Browse files

Merge "Ignore native color spaces following Change I0164a18f"

parents ed8b4c7a 80447d42
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -650,6 +650,20 @@ public final class Bitmap_Delegate {
        return null;
    }

    @LayoutlibDelegate
    /*package*/ static boolean nativeIsSRGB(long nativeBitmap) {
        Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED,
                "Color spaces are not supported", null /*data*/);
        return false;
    }

    @LayoutlibDelegate
    /*package*/ static boolean nativeGetColorSpace(long nativePtr, float[] xyz, float[] params) {
        Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED,
                "Color spaces are not supported", null /*data*/);
        return false;
    }

    // ---- Private delegate/helper methods ----

    private Bitmap_Delegate(BufferedImage image, Config config) {