Fixed
Status Update
Comments
se...@google.com <se...@google.com>
js...@google.com <js...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit c4257aacd0ff9624f4aaa974917e519b89b79ae6
Author: Jinseong Jeon <jsjeon@google.com>
Date: Mon Sep 09 12:59:41 2024
Handle smartcast in NonNullableMutableLiveDataDetector
Bug: 181042665
Test: unit tests added
Change-Id: I4f3c23473a2ec643808fbab50253b760a296b35d
M lifecycle/lifecycle-livedata-core-lint/src/main/java/androidx/lifecycle/lint/NonNullableMutableLiveDataDetector.kt
M lifecycle/lifecycle-livedata-core-lint/src/test/java/androidx/lifecycle/livedata/core/lint/NonNullableMutableLiveDataDetectorTest.kt
https://android-review.googlesource.com/3260793
Branch: androidx-main
commit c4257aacd0ff9624f4aaa974917e519b89b79ae6
Author: Jinseong Jeon <jsjeon@google.com>
Date: Mon Sep 09 12:59:41 2024
Handle smartcast in NonNullableMutableLiveDataDetector
Bug: 181042665
Test: unit tests added
Change-Id: I4f3c23473a2ec643808fbab50253b760a296b35d
M lifecycle/lifecycle-livedata-core-lint/src/main/java/androidx/lifecycle/lint/NonNullableMutableLiveDataDetector.kt
M lifecycle/lifecycle-livedata-core-lint/src/test/java/androidx/lifecycle/livedata/core/lint/NonNullableMutableLiveDataDetectorTest.kt
js...@google.com <js...@google.com>
il...@google.com <il...@google.com> #3
This has been fixed internally and will be available in Lifecycle 2.8.6.
Description
androidx.lifecycle:lifecycle-runtime-ktx
androidx.lifecycle:lifecycle-viewmodel-ktx
androidx.lifecycle:lifecycle-livedata-ktx
androidx.lifecycle:lifecycle-common-java8
Version used:
2.3.0
Devices/Android versions reproduced on: -
If this is a bug in the library, we would appreciate if you could attach:
NonNullableMutableLiveDataDetector nullability lint fails on non-null objects.