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

Commit 989070ca authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "Fix for skia issue with buffer passed in S32_D565_Blend_Dither_neon.""

parents 3e1381b8 8b628331
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -541,7 +541,7 @@ jbyteArray GraphicsJNI::allocateJavaPixelRef(JNIEnv* env, SkBitmap* bitmap,
    }

    size_t size = size64.get32();
    jbyteArray arrayObj = env->NewByteArray(size + 8);
    jbyteArray arrayObj = env->NewByteArray(size);
    if (arrayObj) {
        // TODO: make this work without jniGetNonMovableArrayElements
        jbyte* addr = jniGetNonMovableArrayElements(&env->functions, arrayObj);