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

Commit 80447d42 authored by Jerome Gaillard's avatar Jerome Gaillard
Browse files

Ignore native color spaces following Change I0164a18f

Test: layoutlib tests
Change-Id: I2fc2f13621524142d00fb86c45e75ecdb250479a
parent e8288804
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) {