Merge "SurfaceControl: Crash due to invalid JNI cast" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
34cb00ac83
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user