Merge "SurfaceControl: Fix captureLayers JNI"

This commit is contained in:
Brad Ebinger
2019-08-12 17:46:33 +00:00
committed by Gerrit Code Review

View File

@@ -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) {