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

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

Merge "Update Bitmap_Delegate following Change I0092fe44"

parents e5f4d40b 04b4f89d
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -248,7 +248,8 @@ public final class Bitmap_Delegate {

    @LayoutlibDelegate
    /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width,
            int height, int nativeConfig, boolean isMutable) {
            int height, int nativeConfig, boolean isMutable, @Nullable float[] xyzD50,
            @Nullable ColorSpace.Rgb.TransferParameters p) {
        int imageType = getBufferedImageType();

        // create the image
@@ -664,6 +665,12 @@ public final class Bitmap_Delegate {
        return false;
    }

    @LayoutlibDelegate
    /*package*/ static void nativeCopyColorSpace(long srcBitmap, long dstBitmap) {
        Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED,
                "Color spaces are not supported", null /*data*/);
    }

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

    private Bitmap_Delegate(BufferedImage image, Config config) {