More incorrect screenshot JNI code.
Not sure why we aren't getting warnings but these casts are to the wrong type. Bug: 34758075 Test: Manual Change-Id: I6b9fc0500762c34379f4de56e0b5a66e6f17d87d
This commit is contained in:
@@ -260,7 +260,7 @@ static void nativeScreenshot(JNIEnv* env, jclass clazz, jobject displayTokenObj,
|
||||
}
|
||||
ScreenshotClient::capture(displayToken,
|
||||
consumer->getIGraphicBufferProducer(), sourceCrop,
|
||||
width, height, uint32_t(minLayer), uint32_t(maxLayer),
|
||||
width, height, minLayer, maxLayer,
|
||||
useIdentityTransform);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user