Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit ed4cbc0c50bb906d78cc1617be5ad7fcb14c56f5
Author: Oscar Adame Vázquez <oscarad@google.com>
Date: Wed Jan 17 13:54:01 2024
Add Alignment parameter to animateContentSize
Note that it actually adds a new function altogether to fit existing
use cases where the trailing lambda causes the API to be inflexible
(can't add parameters before or after the lambda).
Relnote: "Added alignment parameter to` Modifier.animateContentSize()`."
Bug: 269803907
Test: AnimationModifierTest.testAlignmentInAnimateContentSize
Change-Id: I5623af336f137bb4464cbf7993942452e86bcd88
M compose/animation/animation/api/current.txt
M compose/animation/animation/api/restricted_current.txt
M compose/animation/animation/src/androidInstrumentedTest/kotlin/androidx/compose/animation/AnimationModifierTest.kt
M compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimationModifier.kt
https://android-review.googlesource.com/2915193
Branch: androidx-main
commit ed4cbc0c50bb906d78cc1617be5ad7fcb14c56f5
Author: Oscar Adame Vázquez <oscarad@google.com>
Date: Wed Jan 17 13:54:01 2024
Add Alignment parameter to animateContentSize
Note that it actually adds a new function altogether to fit existing
use cases where the trailing lambda causes the API to be inflexible
(can't add parameters before or after the lambda).
Relnote: "Added alignment parameter to` Modifier.animateContentSize()`."
Bug: 269803907
Test: AnimationModifierTest.testAlignmentInAnimateContentSize
Change-Id: I5623af336f137bb4464cbf7993942452e86bcd88
M compose/animation/animation/api/current.txt
M compose/animation/animation/api/restricted_current.txt
M compose/animation/animation/src/androidInstrumentedTest/kotlin/androidx/compose/animation/AnimationModifierTest.kt
M compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimationModifier.kt
je...@google.com <je...@google.com>
wi...@gmail.com <wi...@gmail.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.animation:animation:1.7.0-alpha03
androidx.compose.animation:animation-android:1.7.0-alpha03
androidx.compose.animation:animation-desktop:1.7.0-alpha03
je...@google.com <je...@google.com> #4
I'm not sure what SonarQube means by that suggestion.
The exported ComponentActivity
is merged into your manifest because you have a debugImplementation
dependency on ui-test-manifest
. You need this if you have tests that use createComposeRule()
or createAndroidComposeRule<ComponentActivity>()
. Because it is a debug dependency, release builds won't be affected.
To answer your question, you can just remove the dependency on ui-test-manifest
and add ComponentActivity
to your (debug) manifest manually if necessary.
Description
<activity android:name="androidx.activity.ComponentActivity" />
Expected and mandatory in the future:
<activity android:name="androidx.activity.ComponentActivity"
android:exported="true" />