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 bf9298f1c9)
This commit is contained in:
committed by
Nicholas Sauer
parent
eaafe5e711
commit
fbc22c2b6d
@@ -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