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 commitbf9298f1c9) (cherry picked from commitfbc22c2b6d)
This commit is contained in:
committed by
android-build-team Robot
parent
1c2fcd62ec
commit
205e540a64
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user