Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7acc6f1d authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

Merge "Update JNI to call captureChildLayers" into pi-dev am: ed875ea1

am: 7148bdf9

Change-Id: I6150f8dedef0326022dfbca493af6439f7814852
parents a57b13a1 7148bdf9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }