Merge "SurfaceControl: Fix captureLayers JNI"
This commit is contained in:
@@ -308,7 +308,8 @@ static jobject nativeCaptureLayers(JNIEnv* env, jclass clazz, jobject layerHandl
|
|||||||
buffer->getHeight(),
|
buffer->getHeight(),
|
||||||
buffer->getPixelFormat(),
|
buffer->getPixelFormat(),
|
||||||
(jint)buffer->getUsage(),
|
(jint)buffer->getUsage(),
|
||||||
(jlong)buffer.get());
|
(jlong)buffer.get(),
|
||||||
|
false /* capturedSecureLayers */);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void nativeApplyTransaction(JNIEnv* env, jclass clazz, jlong transactionObj, jboolean sync) {
|
static void nativeApplyTransaction(JNIEnv* env, jclass clazz, jlong transactionObj, jboolean sync) {
|
||||||
|
|||||||
Reference in New Issue
Block a user