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

Commit 890715d0 authored by Patrik Torstensson's avatar Patrik Torstensson Committed by android-build-merger
Browse files

Merge "SurfaceControl: Crash due to invalid JNI cast" into oc-dev

am: 34cb00ac

Change-Id: I2871b1f3edbf24c3a5b1ef49d432f5394198e6d7
parents 86c30516 34cb00ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@ static jobject nativeScreenshotToBuffer(JNIEnv* env, jclass clazz,
            buffer->getHeight(),
            buffer->getPixelFormat(),
            buffer->getUsage(),
            (void*)buffer.get());
            (jlong)buffer.get());
}

static jobject nativeScreenshotBitmap(JNIEnv* env, jclass clazz,