Verified
Status Update
Comments
ch...@google.com <ch...@google.com> #2
Why is TwoRowsTopAppBar
even private and not public... Related:
jd...@xooloo.com <jd...@xooloo.com> #4
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material3:material3:1.4.0-alpha07
androidx.compose.material3:material3-android:1.4.0-alpha07
androidx.compose.material3:material3-jvmstubs:1.4.0-alpha07
androidx.compose.material3:material3-linuxx64stubs:1.4.0-alpha07
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-main
Author: Shalom Gibly <
Link:
Update the TwoRowsTopAppBar API
Expand for full commit details
Update the TwoRowsTopAppBar API
- Update the API to the feedback from the API council.
- Remove the `expanded` lambda parameter and have a separate params for
the expanded and collapsed heights.
Test: Updated
Bug: 306697446
Bug: 229134133
Bug: 268068946
Fixes: 394144086
Relnote: "Updates to the TowRowsTopAppBar API. We removed the `expanded`
lambda parameters and added separate parameters for the expanded and
collapsed heights."
Change-Id: Idd6777bc381871b9e77c040762c6bca7355cda8a
Files:
- M
compose/material3/material3/api/current.txt
- M
compose/material3/material3/api/restricted_current.txt
- M
compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/AppBarSamples.kt
- M
compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/AppBarTest.kt
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AppBar.kt
Hash: e414ed68307128f55615f1e482bee2212677098c
Date: Thu Feb 06 13:54:36 2025
ap...@google.com <ap...@google.com> #6
Project: r8
Branch: 3.0
commit 6fb5ed05b6b3ba790724a53a5abda5981fd20cf1
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Wed Aug 04 10:45:24 2021
Version 3.0.64
Bug: 195234829
Bug: 195037294
Change-Id: Icacacbec15e6bfc9a5c5663bca12b3b06f21cb05
M src/main/java/com/android/tools/r8/Version.java
https://r8-review.googlesource.com/61865
Branch: 3.0
commit 6fb5ed05b6b3ba790724a53a5abda5981fd20cf1
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Wed Aug 04 10:45:24 2021
Version 3.0.64
Bug: 195234829
Bug: 195037294
Change-Id: Icacacbec15e6bfc9a5c5663bca12b3b06f21cb05
M src/main/java/com/android/tools/r8/Version.java
ap...@google.com <ap...@google.com> #7
Project: r8
Branch: 3.0
commit b933ad2432421e301aaeac32618dd756247f655e
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Wed Aug 04 10:44:32 2021
Unset class inliner method constraint after method specialization
Bug: 195234829
Change-Id: I51c36cc31e4209b25aa17a23232bb1ce88cb2cd4
M src/main/java/com/android/tools/r8/ir/optimize/info/OptimizationFeedbackSimple.java
M src/main/java/com/android/tools/r8/ir/optimize/info/UpdatableMethodOptimizationInfo.java
M src/main/java/com/android/tools/r8/ir/optimize/typechecks/CheckCastAndInstanceOfMethodSpecialization.java
A src/test/java/com/android/tools/r8/ir/optimize/classinliner/InstanceOfSpecializedMethodClassInlinerTest.java
https://r8-review.googlesource.com/61864
Branch: 3.0
commit b933ad2432421e301aaeac32618dd756247f655e
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Wed Aug 04 10:44:32 2021
Unset class inliner method constraint after method specialization
Bug: 195234829
Change-Id: I51c36cc31e4209b25aa17a23232bb1ce88cb2cd4
M src/main/java/com/android/tools/r8/ir/optimize/info/OptimizationFeedbackSimple.java
M src/main/java/com/android/tools/r8/ir/optimize/info/UpdatableMethodOptimizationInfo.java
M src/main/java/com/android/tools/r8/ir/optimize/typechecks/CheckCastAndInstanceOfMethodSpecialization.java
A src/test/java/com/android/tools/r8/ir/optimize/classinliner/InstanceOfSpecializedMethodClassInlinerTest.java
ap...@google.com <ap...@google.com> #8
Project: r8
Branch: 2.2
commit 012bd3a37101c6bd659a094e68ccd77adb27c454
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Wed Aug 04 10:36:21 2021
Version 2.2.82
Bug: 195234829
Bug: 195037294
Change-Id: I3d7b82263e06197f1c5b97531aa9e751d5037606
M src/main/java/com/android/tools/r8/Version.java
https://r8-review.googlesource.com/61862
Branch: 2.2
commit 012bd3a37101c6bd659a094e68ccd77adb27c454
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Wed Aug 04 10:36:21 2021
Version 2.2.82
Bug: 195234829
Bug: 195037294
Change-Id: I3d7b82263e06197f1c5b97531aa9e751d5037606
M src/main/java/com/android/tools/r8/Version.java
ap...@google.com <ap...@google.com> #9
Project: r8
Branch: 2.2
commit eb6c5f9f058cd231bfefd92d65ed58762c3941f6
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Wed Aug 04 10:34:25 2021
Unset class inliner method constraint after method specialization
Bug: 195234829
Change-Id: I51c36cc31e4209b25aa17a23232bb1ce88cb2cd4
M src/main/java/com/android/tools/r8/ir/optimize/info/OptimizationFeedbackSimple.java
M src/main/java/com/android/tools/r8/ir/optimize/info/UpdatableMethodOptimizationInfo.java
M src/main/java/com/android/tools/r8/ir/optimize/typechecks/CheckCastAndInstanceOfMethodSpecialization.java
A src/test/java/com/android/tools/r8/ir/optimize/classinliner/InstanceOfSpecializedMethodClassInlinerTest.java
https://r8-review.googlesource.com/61861
Branch: 2.2
commit eb6c5f9f058cd231bfefd92d65ed58762c3941f6
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Wed Aug 04 10:34:25 2021
Unset class inliner method constraint after method specialization
Bug: 195234829
Change-Id: I51c36cc31e4209b25aa17a23232bb1ce88cb2cd4
M src/main/java/com/android/tools/r8/ir/optimize/info/OptimizationFeedbackSimple.java
M src/main/java/com/android/tools/r8/ir/optimize/info/UpdatableMethodOptimizationInfo.java
M src/main/java/com/android/tools/r8/ir/optimize/typechecks/CheckCastAndInstanceOfMethodSpecialization.java
A src/test/java/com/android/tools/r8/ir/optimize/classinliner/InstanceOfSpecializedMethodClassInlinerTest.java
ap...@google.com <ap...@google.com> #10
Project: r8
Branch: 3.0
commit b933ad2432421e301aaeac32618dd756247f655e
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Wed Aug 04 10:44:32 2021
Unset class inliner method constraint after method specialization
Bug: 195234829
Change-Id: I51c36cc31e4209b25aa17a23232bb1ce88cb2cd4
M src/main/java/com/android/tools/r8/ir/optimize/info/OptimizationFeedbackSimple.java
M src/main/java/com/android/tools/r8/ir/optimize/info/UpdatableMethodOptimizationInfo.java
M src/main/java/com/android/tools/r8/ir/optimize/typechecks/CheckCastAndInstanceOfMethodSpecialization.java
A src/test/java/com/android/tools/r8/ir/optimize/classinliner/InstanceOfSpecializedMethodClassInlinerTest.java
https://r8-review.googlesource.com/61864
Branch: 3.0
commit b933ad2432421e301aaeac32618dd756247f655e
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Wed Aug 04 10:44:32 2021
Unset class inliner method constraint after method specialization
Bug: 195234829
Change-Id: I51c36cc31e4209b25aa17a23232bb1ce88cb2cd4
M src/main/java/com/android/tools/r8/ir/optimize/info/OptimizationFeedbackSimple.java
M src/main/java/com/android/tools/r8/ir/optimize/info/UpdatableMethodOptimizationInfo.java
M src/main/java/com/android/tools/r8/ir/optimize/typechecks/CheckCastAndInstanceOfMethodSpecialization.java
A src/test/java/com/android/tools/r8/ir/optimize/classinliner/InstanceOfSpecializedMethodClassInlinerTest.java
ch...@google.com <ch...@google.com> #11
This should now be fixed in R8 versions 2.2.82 and 3.0.64. You can build with 3.0.64 by making the following changes to build.gradle
:
buildscript {
repositories {
maven {
url 'https://storage.googleapis.com/r8-releases/raw'
}
}
dependencies {
classpath 'com.android.tools:r8:3.0.64' // Must be before the Gradle Plugin for Android.
classpath 'com.android.tools.build:gradle:X.Y.Z' // Your current AGP version.
}
}
Description
This is the same issues than #171302401 but it still occurs with stable release.
Actually, it is even more buggy, as it can't even give the right class name in the error message.
I tried to write a reduced test case available athttps://github.com/Jean-Daniel/r8bug.git
Checkout.
./gradlew :jetpack:minifyReleaseWithR8