Skip to content

Update lib versions in Android apps#214

Merged
kirklandsign merged 4 commits intomainfrom
android-version
Feb 20, 2026
Merged

Update lib versions in Android apps#214
kirklandsign merged 4 commits intomainfrom
android-version

Conversation

@kirklandsign
Copy link
Contributor

No description provided.

@kirklandsign kirklandsign marked this pull request as ready for review February 20, 2026 19:48
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 20, 2026
Bitmap.config can return null, but Bitmap.copy() expects a non-null
Config. Fall back to ARGB_8888 when config is null.
Replace TopAppBarDefaults.smallTopAppBarColors() with
TopAppBarDefaults.topAppBarColors(), which is the current API
in Material 3.
Kotlin 2.0's Compose compiler enables strong skipping by default,
which compares unstable parameters by reference equality (===).
The old code mutated resultMessage in-place and placed the same
reference back into the SnapshotStateList, causing MessageItem to
skip recomposition — streaming text, generation metrics, and total
generation time never rendered in the UI.

Add Message.copy() and use new object references in onResult(),
onStats(), and after setting totalGenerationTime.
@kirklandsign kirklandsign merged commit 8c6eac5 into main Feb 20, 2026
11 checks passed
@kirklandsign kirklandsign deleted the android-version branch February 20, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants