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

Commit 4bcf5e7c authored by Diego Perez's avatar Diego Perez Committed by Android (Google) Code Review
Browse files

Merge "Remove use of refSkPixelRef"

parents debcf760 906f2ad1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -92,8 +92,7 @@ public final class Bitmap_Delegate {

    @Nullable
    public static Bitmap_Delegate getDelegate(@Nullable Bitmap bitmap) {
        // refSkPixelRef is a hack to get the native pointer: see #nativeRefPixelRef()
        return bitmap == null ? null : getDelegate(bitmap.refSkPixelRef());
        return bitmap == null ? null : getDelegate(bitmap.getNativeInstance());
    }

    /**