Fixed
Status Update
Comments
ag...@google.com <ag...@google.com>
st...@google.com <st...@google.com> #2
Thanks for the report! It looks like the lint check in ParcelChecker.java
has to be updated to account for the new behavior on sealed classes. Right now the checker just @Parcelize
annotations@Parcelize
.
Description
It’s already allowed to use here .
But lint’s still warning that Parcelable
@Parcelize
annotation on sealed classCREATOR
field is missing for a class like the following.The code would run just fine. But because of this lint warning, we instead have to annotate each child of this sealed class.
Studio Build: #AI-213.7172.25.2211.8571212 Version of Gradle Plugin: 7.2.1 Version of Kotlin: 1.6.21 OS: macOS Monterey