Merge "Update JNI to call captureChildLayers" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-16 01:08:06 +00:00
committed by Android (Google) Code Review

View File

@@ -290,7 +290,7 @@ static jobject nativeCaptureLayers(JNIEnv* env, jclass clazz, jobject layerHandl
}
sp<GraphicBuffer> buffer;
status_t res = ScreenshotClient::captureLayers(layerHandle, sourceCrop, frameScale, &buffer);
status_t res = ScreenshotClient::captureChildLayers(layerHandle, sourceCrop, frameScale, &buffer);
if (res != NO_ERROR) {
return NULL;
}