Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 9c0f681eb957210a4ff9a8143be6c55e1d694b88
Author: Andrey Kulikov <andreykulikov@google.com>
Date: Wed Jan 27 19:45:52 2021
Use disposable like pattern in SaveableStateRegistry
Relnote: SaveableStateRegistry's unregisterProvider was removed. Instead registerProvider() now returns SaveableStateRegistry.Entry object which you can use to unregister
Fixes: 178583739
Test: RememberSaveableTest, SaveableStateRegistryTest
Change-Id: Ic42741cecc67ce93cc097f01f7196110e2fff09d
M compose/runtime/runtime-saveable/api/current.txt
M compose/runtime/runtime-saveable/api/public_plus_experimental_current.txt
M compose/runtime/runtime-saveable/api/restricted_current.txt
M compose/runtime/runtime-saveable/src/androidAndroidTest/kotlin/androidx/compose/runtime/saveable/RememberSaveableTest.kt
M compose/runtime/runtime-saveable/src/commonMain/kotlin/androidx/compose/runtime/saveable/RememberSaveable.kt
M compose/runtime/runtime-saveable/src/commonMain/kotlin/androidx/compose/runtime/saveable/SaveableStateRegistry.kt
M compose/runtime/runtime-saveable/src/test/java/androidx/compose/runtime/saveable/SaveableStateRegistryTest.kt
M compose/ui/ui-test-junit4/src/androidMain/kotlin/androidx/compose/ui/test/junit4/StateRestorationTester.kt
https://android-review.googlesource.com/1561986
Branch: androidx-main
commit 9c0f681eb957210a4ff9a8143be6c55e1d694b88
Author: Andrey Kulikov <andreykulikov@google.com>
Date: Wed Jan 27 19:45:52 2021
Use disposable like pattern in SaveableStateRegistry
Relnote: SaveableStateRegistry's unregisterProvider was removed. Instead registerProvider() now returns SaveableStateRegistry.Entry object which you can use to unregister
Fixes: 178583739
Test: RememberSaveableTest, SaveableStateRegistryTest
Change-Id: Ic42741cecc67ce93cc097f01f7196110e2fff09d
M compose/runtime/runtime-saveable/api/current.txt
M compose/runtime/runtime-saveable/api/public_plus_experimental_current.txt
M compose/runtime/runtime-saveable/api/restricted_current.txt
M compose/runtime/runtime-saveable/src/androidAndroidTest/kotlin/androidx/compose/runtime/saveable/RememberSaveableTest.kt
M compose/runtime/runtime-saveable/src/commonMain/kotlin/androidx/compose/runtime/saveable/RememberSaveable.kt
M compose/runtime/runtime-saveable/src/commonMain/kotlin/androidx/compose/runtime/saveable/SaveableStateRegistry.kt
M compose/runtime/runtime-saveable/src/test/java/androidx/compose/runtime/saveable/SaveableStateRegistryTest.kt
M compose/ui/ui-test-junit4/src/androidMain/kotlin/androidx/compose/ui/test/junit4/StateRestorationTester.kt
Description