Assigned
Status Update
Comments
cc...@google.com <cc...@google.com> #2
Thanks for reporting. We will look into the issue and update the status here.
ap...@google.com <ap...@google.com> #3
Hi Thanks for reporting the issue. To have more context, can you help provide the following information ?
-
Can you show us how you configure the ImageCapture in the codes ?
-
Did you enable CameraX Extensions ?
-
so the occurrence rate is like 20%, right ?
cc...@google.com <cc...@google.com> #4
Thanks for your response.
Sure. I can provide more data.
1.
ImageCapture.Builder builder = new ImageCapture.Builder();
builder.setCaptureMode(ImageCapture.CAPTURE_MODE_MINIMIZE_LATENCY);
if (!extensionAvailable) {
builder.setBufferFormat(ImageFormat.YUV_420_888);
}
imageCapture = builder.build();
UseCaseGroup useCaseGroup = new UseCaseGroup.Builder()
.addUseCase(preview)
.addUseCase(imageCapture)
.setViewPort(viewPort)
.build();
cameraProvider.unbindAll();
camera = cameraProvider.bindToLifecycle(this, cameraSelector, useCaseGroup);
-
Yes, Extensions are enabled, which means that the code is not configuring the buffer format and therefore will use the JPEG format. If I disable the extensions, than the error disapears. But I think its more a jpeg format issue then an extension problem.
-
Yes, occurrence rate is 20%.
Description
TLDR: Attempting to run startupBenchmark tests on emulator with api 33 (had a similar dropShader error on physical device so using emulator). Looks like shell command is missing an argument
Component used:
Version used:
profileinstaller:1.3.0-rc01
benchmark-macro-junit4:1.2.0-alpha11
Devices/Android versions reproduced on: Emulator - api 33
If this is a bug in the library, we would appreciate if you could attach:
log output:
function in question: