Merge "SurfaceControl: Fix captureLayers JNI" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-09 18:20:54 +00:00
committed by Android (Google) Code Review

View File

@@ -317,7 +317,8 @@ static jobject nativeCaptureLayers(JNIEnv* env, jclass clazz, jobject layerHandl
buffer->getPixelFormat(),
(jint)buffer->getUsage(),
(jlong)buffer.get(),
namedColorSpace);
namedColorSpace,
false /* capturedSecureLayers */);
}
static void nativeApplyTransaction(JNIEnv* env, jclass clazz, jlong transactionObj, jboolean sync) {