Skip to content

Restore Android Compose crash and ANR fix after LUI upgrade - #203

Merged
tiensonqin merged 1 commit into
mainfrom
codex/sentry-android-3101-layout
Nov 20, 2026
Merged

tiensonqin merged 1 commit into
mainfrom
codex/sentry-android-3101-layout

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Mobile #194 switched to an LUI revision that omitted the Android layout fix from #185. In Android 2.0.2 (3101), natural-height columns used subcomposition again. That brought back the Compose intrinsic measurement crash and a recomposition loop when recovering from an invalid saved view.

Pin LUI to f13b6f9, which uses a standard Compose column when no child needs to grow and retains constraint-based sizing for weighted children. This also covers the card and panel renderer added in the LUI upgrade.

Sentry reports LOGSEQ-ANDROID-5 and LOGSEQ-ANDROID-6.

Validation

  • Reproduced the intrinsic measurement exception on the release source with the LUI layout instrumentation test.
  • Reproduced the saved-view hang on the release source and sampled the same repeated Compose invalidation frames reported by Sentry.
  • Both reproductions passed after the fix on an Android 17 emulator. All 22 targeted instrumented tests and 101 JVM tests passed.
  • Built the Android release bundle with the published 3101 native core and verified 16 KB load alignment for all five native libraries.
  • Resolved the updated Apple Swift package lockfile.

Devin Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@tiensonqin
tiensonqin merged commit b1cb5c7 into main Nov 20, 2026
5 checks passed
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