Merge "Update JNI to call captureChildLayers" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ed875ea132
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user