Merge "Update JNI to call captureChildLayers" into pi-dev
am: ed875ea132
Change-Id: I1426a013c412b1c2f97ec62c531b63efe98a1717
This commit is contained in:
@@ -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