Fix IllegalStateException in androidx.customview.view

Fixes #906
This commit is contained in:
2021-05-22 12:53:03 -05:00
parent 0a91c097e8
commit 38d2606d6d
2 changed files with 4 additions and 3 deletions

View File

@@ -3,9 +3,10 @@
## [2.0.2] - Unreleased ## [2.0.2] - Unreleased
### Fixed ### Fixed
- Fix crash caused by numerical habits with zero target (#903) - Fix crash caused by numerical habits with zero target (@iSoron, #903)
- Fix small issues with font size - Fix small issues with font size (@iSoron)
- Allow fractional target values (@sumanabhi, #911) - Allow fractional target values (@sumanabhi, #911)
- Fix IllegalStateException in androidx.customview.view (@iSoron, #906)
## [2.0.1] - 2021-05-09 ## [2.0.1] - 2021-05-09

View File

@@ -41,7 +41,7 @@ class BundleSavedState : AbsSavedState {
} }
companion object { companion object {
val CREATOR: Parcelable.Creator<BundleSavedState> = @JvmField val CREATOR: Parcelable.Creator<BundleSavedState> =
object : ClassLoaderCreator<BundleSavedState> { object : ClassLoaderCreator<BundleSavedState> {
override fun createFromParcel( override fun createFromParcel(
source: Parcel, source: Parcel,