diff options
| author | 2019-08-12 17:46:33 +0000 | |
|---|---|---|
| committer | 2019-08-12 17:46:33 +0000 | |
| commit | ce98a32755d817a0163bdff2fea5a1f6245f5c80 (patch) | |
| tree | 0f4f9de31117741284fea0fdc80c820f98f68ec4 | |
| parent | 8b578c9c92567ffaf0fe30ecbfda1bf65b955e5f (diff) | |
| parent | 1fb99f259f8991d2f29408abad53d8e0867ebb1c (diff) | |
Merge "SurfaceControl: Fix captureLayers JNI"
| -rw-r--r-- | core/jni/android_view_SurfaceControl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/jni/android_view_SurfaceControl.cpp b/core/jni/android_view_SurfaceControl.cpp index 614a8ff124ea..04b06095b022 100644 --- a/core/jni/android_view_SurfaceControl.cpp +++ b/core/jni/android_view_SurfaceControl.cpp @@ -308,7 +308,8 @@ static jobject nativeCaptureLayers(JNIEnv* env, jclass clazz, jobject layerHandl buffer->getHeight(), buffer->getPixelFormat(), (jint)buffer->getUsage(), - (jlong)buffer.get()); + (jlong)buffer.get(), + false /* capturedSecureLayers */); } static void nativeApplyTransaction(JNIEnv* env, jclass clazz, jlong transactionObj, jboolean sync) { |