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

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

Merge "Remove refSkPixelRef"

parents 9ec830d8 c93beed4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@ public final class Canvas_Delegate {
    /*package*/ static long initRaster(@Nullable Bitmap bitmap) {
        long nativeBitmapOrZero = 0;
        if (bitmap != null) {
            nativeBitmapOrZero = bitmap.refSkPixelRef();
            nativeBitmapOrZero = bitmap.getNativeInstance();
        }
        if (nativeBitmapOrZero > 0) {
            // get the Bitmap from the int