Skip to content

Filter benign ImageReader maxImages log - #2376

Open
colinmarsch wants to merge 1 commit into
cashapp:masterfrom
colinmarsch:cmarsch/filter-image-reader-log
Open

Filter benign ImageReader maxImages log#2376
colinmarsch wants to merge 1 commit into
cashapp:masterfrom
colinmarsch:cmarsch/filter-image-reader-log

Conversation

@colinmarsch

@colinmarsch colinmarsch commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Why

Layoutlib emits a noisy ImageReader_JNI maxImages warning during Paparazzi renders even when snapshots pass. The warning comes from layoutlib's ImageReader path while Paparazzi is capturing rendered frames, where acquireLatestImage() can attempt an extra buffer acquire with maxImages=1 while draining stale images.

This filters that known benign framework log so it does not clutter test output.

What

  • Suppress the exact ImageReader_JNI maxImages framework log in PaparazziLogger
  • Add logger tests for the filtered message and for preserving other ImageReader_JNI messages

@colinmarsch
colinmarsch marked this pull request as ready for review June 30, 2026 17:41
eygraber added a commit to eygraber/paparazzi that referenced this pull request Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant