diff options
author | Robert Carr <racarr@google.com> | 2019-04-09 07:42:02 -0700 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-12 09:55:20 +0000 |
commit | 205e540a64745c6e0f9702469c9e4b14908037ea (patch) | |
tree | 78261326605d23ab022ed2ece0882a69f929e4b2 | |
parent | 1c2fcd62ec9162ecc12700493ee1e8182aa71896 (diff) | |
download | base-205e540a64745c6e0f9702469c9e4b14908037ea.tar.gz |
DO NOT MERGE SurfaceControl: Fix captureLayers JNI
Missed a call-point in last refactoring.
This CL should have been included in https://googleplex-android-review.git.corp.google.com/q/topic:%22bp-secure-screen-rotation%22+(status:open%20OR%20status:merged)
Bug: 130211665
Bug: 133054270
Test: Manual
Change-Id: I43fa93eea7d79f5b773497e3bb65750866eca2cb
(cherry picked from commit bf9298f1c9b848ff0db4ae0be3913ad531bafa9e)
(cherry picked from commit fbc22c2b6d54a8a9b589746be67d3992f01212cc)
-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) { |