Skip to content

[pull] androidx-main from androidx:androidx-main#1228

Merged
pull[bot] merged 2 commits into
MaxMood96:androidx-mainfrom
androidx:androidx-main
Jun 28, 2026
Merged

[pull] androidx-main from androidx:androidx-main#1228
pull[bot] merged 2 commits into
MaxMood96:androidx-mainfrom
androidx:androidx-main

Conversation

@pull

@pull pull Bot commented Jun 28, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

codelogic and others added 2 commits June 28, 2026 17:21
Wrap image acquisition and AndroidImage construction in a try-catch block to handle IllegalStateException that can occur if the ImageReader or Image is closed concurrently. Ensure that the acquired image is safely closed if wrapping fails, and invoke the image listener outside the try-catch block to avoid catching listener-specific exceptions.

Additionally, ensure that the expected outputs listener is fired if the image timestamp is successfully resolved, even if the subsequent wrapping in AndroidImage fails. Also add corresponding unit tests for both regular and multi-resolution image readers.

Bug: 520091791

Change-Id: I517ccc55d876a51d0f02b9a9d9243f691050933f
@pull pull Bot locked and limited conversation to collaborators Jun 28, 2026
@pull pull Bot added the ⤵️ pull label Jun 28, 2026
@pull pull Bot merged commit 83bec4c into MaxMood96:androidx-main Jun 28, 2026
1 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant