Skip to content

Fix Android rejection of pre-wrap text patches - #295

Merged
tiensonqin merged 1 commit into
mainfrom
devin/1793493900-android-pre-wrap
Nov 1, 2026
Merged

tiensonqin merged 1 commit into
mainfrom
devin/1793493900-android-pre-wrap

Conversation

@tiensonqin

Copy link
Copy Markdown
Collaborator

Summary

Android's retained-tree validator rejected legal white-space: "pre-wrap" text patches atomically, including startup snapshots. Accept pre-wrap in the existing text-flow matrix so Reader can use the shared canonical-text renderer without host-side wire rewriting.

This is a validation correction only; Compose rendering and the wire format are unchanged. Unsupported modes and non-string values remain rejected. Documents compatibility in docs/api-migrations.md.

Validation: one retained vocabulary-table regression failed on the pinned baseline, then all 19 LuiStoreTest cases passed; :lui:assembleDebug and :lui:lintDebug passed locally on the Android child. Real Reader native startup batches and resync snapshot were also accepted by the Kotlin backend. No emulator/UI pass is claimed here.

Link to Devin session: https://app.devin.ai/sessions/c47297d38dc34fd181b18f63166e5679
Open in Devin Desktop: https://app.devin.ai/desktop/session/c47297d38dc34fd181b18f63166e5679?variant=devin
Requested by: @tiensonqin

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@tiensonqin
tiensonqin merged commit fdaf02d into main Nov 1, 2026
16 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