Fixed
Status Update
Comments
an...@google.com <an...@google.com>
se...@google.com <se...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 68ac08325864131b1ee359e0f93dd773c2dc0d93
Author: Sean McQuillan <seanmcq@google.com>
Date: Fri Jul 15 14:49:43 2022
Fix NPE in AnnotatedString.toUpperCase()
Previously, AnnotatedString containing annotations would NPE during
any transform. Now it will not throw a NPE.
Test: ./gradlew :compose:ui:ui-text:test
Fixes: b/210899140
Relnote: "Fix NPE caused by AnnotatedString.toUpperCase when annotations
are present."
Change-Id: I0aca2865d1137bc375b2548eac039112294a62fb
M compose/ui/ui-text/src/jvmMain/kotlin/androidx/compose/ui/text/JvmAnnotatedString.jvm.kt
M compose/ui/ui-text/src/test/java/androidx/compose/ui/text/AnnotatedStringTest.kt
https://android-review.googlesource.com/2155519
Branch: androidx-main
commit 68ac08325864131b1ee359e0f93dd773c2dc0d93
Author: Sean McQuillan <seanmcq@google.com>
Date: Fri Jul 15 14:49:43 2022
Fix NPE in AnnotatedString.toUpperCase()
Previously, AnnotatedString containing annotations would NPE during
any transform. Now it will not throw a NPE.
Test: ./gradlew :compose:ui:ui-text:test
Fixes:
Relnote: "Fix NPE caused by AnnotatedString.toUpperCase when annotations
are present."
Change-Id: I0aca2865d1137bc375b2548eac039112294a62fb
M compose/ui/ui-text/src/jvmMain/kotlin/androidx/compose/ui/text/JvmAnnotatedString.jvm.kt
M compose/ui/ui-text/src/test/java/androidx/compose/ui/text/AnnotatedStringTest.kt
Description
Jetpack Compose release version: 1.4.0
Android Studio Build: #AI-203.7717.56.2031.7935034
Kotlin version: 1.5.31
Steps to Reproduce:
AnnotatedString
with inline contentMap<String, InlineTextContent>
)toUpperCase()
on annotated stringText
composable with annotated string and inline content map