Fixed
Status Update
Comments
il...@google.com <il...@google.com>
jb...@google.com <jb...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 3c14b4adb72ce826b47d47f59d7058f5d5baec8f
Author: clarafok <clarafok@google.com>
Date: Thu Apr 14 14:01:26 2022
Add kdocs on responsbilities of implementing SavedStateRegistryOwner
Details on how to properly implement SaveStateRegistryOwner and
how to call the SavedStateRegistryController methods
Test: n/a
Fixes: 228887344
Change-Id: Iefc9519241d9d6844868e6833b33081aa6908b7f
M savedstate/savedstate/src/main/java/androidx/savedstate/SavedStateRegistryOwner.kt
https://android-review.googlesource.com/2065329
Branch: androidx-main
commit 3c14b4adb72ce826b47d47f59d7058f5d5baec8f
Author: clarafok <clarafok@google.com>
Date: Thu Apr 14 14:01:26 2022
Add kdocs on responsbilities of implementing SavedStateRegistryOwner
Details on how to properly implement SaveStateRegistryOwner and
how to call the SavedStateRegistryController methods
Test: n/a
Fixes: 228887344
Change-Id: Iefc9519241d9d6844868e6833b33081aa6908b7f
M savedstate/savedstate/src/main/java/androidx/savedstate/SavedStateRegistryOwner.kt
Description
Component used: Fragment
Version used: 1.5.0
Devices/Android versions reproduced on: N/A lint only
In newer versions of lint (seemingly 30.4.x, but possibly 30.3.x), there was an API change that breaks the DialogFragmentCallbacksDetector lint. This commit fixes it and the fix (
(node.sourcePsi as? KtClassOrObject)
) is backward compatible. It would be great if this could be backported to a patch release for 1.5.x.