Fixed
Status Update
Comments
se...@google.com <se...@google.com> #2
Thank you!!!!
se...@google.com <se...@google.com>
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit d3183f137fa6e25ee30b4ba474401a1f43cfb6cb
Author: Sean McQuillan <seanmcq@google.com>
Date: Tue Dec 06 10:49:41 2022
Promote AndroidFont ctor to stable API
Deprecates old constructor.
Bug: b/261565807
Test: n/a
Relnote: "AndroidFont constructor with variationSetings is now a stable API, and can be used to create new types of font descriptors."
Change-Id: I5adcc8bd923050d20021d4725fcfe0b36f258ae1
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/FontFamilyDemo.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/text/TextControllerTest.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/textfield/HeightInLinesModifierTest.kt
M compose/ui/ui-text-google-fonts/src/main/java/androidx/compose/ui/text/googlefonts/GoogleFont.kt
M compose/ui/ui-text/api/current.txt
M compose/ui/ui-text/api/public_plus_experimental_current.txt
M compose/ui/ui-text/api/restricted_current.txt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt
https://android-review.googlesource.com/2328888
Branch: androidx-main
commit d3183f137fa6e25ee30b4ba474401a1f43cfb6cb
Author: Sean McQuillan <seanmcq@google.com>
Date: Tue Dec 06 10:49:41 2022
Promote AndroidFont ctor to stable API
Deprecates old constructor.
Bug:
Test: n/a
Relnote: "AndroidFont constructor with variationSetings is now a stable API, and can be used to create new types of font descriptors."
Change-Id: I5adcc8bd923050d20021d4725fcfe0b36f258ae1
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/FontFamilyDemo.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/text/TextControllerTest.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/textfield/HeightInLinesModifierTest.kt
M compose/ui/ui-text-google-fonts/src/main/java/androidx/compose/ui/text/googlefonts/GoogleFont.kt
M compose/ui/ui-text/api/current.txt
M compose/ui/ui-text/api/public_plus_experimental_current.txt
M compose/ui/ui-text/api/restricted_current.txt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt
na...@google.com <na...@google.com> #4
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.foundation:foundation:1.4.0-alpha04
androidx.compose.ui:ui-text:1.4.0-alpha04
androidx.compose.ui:ui-text-google-fonts:1.4.0-alpha04
Description
The following Experimental APIs have existed for several releases.
Please consider stabilising or removing these APIs: