Fixed
Status Update
Comments
na...@google.com <na...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit b90079595f33f58fece04026a97faa0d243acdb1
Author: Yuichi Araki <yaraki@google.com>
Date: Wed Sep 18 16:55:49 2019
Change the way to detect mismatch between POJO and query
This fixes cursor mismatch warnings with expandProjection.
Bug: 140759491
Test: QueryMethodProcessorTest
Change-Id: I7659002e5e0d1ef60fc1af2a625c0c36da0664d8
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
https://android-review.googlesource.com/1123258
https://goto.google.com/android-sha1/b90079595f33f58fece04026a97faa0d243acdb1
Branch: androidx-master-dev
commit b90079595f33f58fece04026a97faa0d243acdb1
Author: Yuichi Araki <yaraki@google.com>
Date: Wed Sep 18 16:55:49 2019
Change the way to detect mismatch between POJO and query
This fixes cursor mismatch warnings with expandProjection.
Bug: 140759491
Test: QueryMethodProcessorTest
Change-Id: I7659002e5e0d1ef60fc1af2a625c0c36da0664d8
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
Description
The following lint check is baseline suppressed in your project. Please remove all instances of this suppression from
documentfile/documentfile/lint-baseline.xml
and address the associated issues before your next stable release.5 instance(s) of
ClassVerificationFailure
This call references a method added in API level 21; however, the containing class androidx.documentfile.provider.DocumentFile is reachable from earlier API levels and will fail run-time class verification.
Found in
src/main/java/androidx/documentfile/provider/DocumentFile.java
at line 136:This call references a method added in API level 19; however, the containing class androidx.documentfile.provider.DocumentFile is reachable from earlier API levels and will fail run-time class verification.
Found in
src/main/java/androidx/documentfile/provider/DocumentFile.java
at line 137:This call references a method added in API level 19; however, the containing class androidx.documentfile.provider.DocumentFile is reachable from earlier API levels and will fail run-time class verification.
Found in
src/main/java/androidx/documentfile/provider/DocumentFile.java
at line 138:This call references a method added in API level 21; however, the containing class androidx.documentfile.provider.DocumentFile is reachable from earlier API levels and will fail run-time class verification.
Found in
src/main/java/androidx/documentfile/provider/DocumentFile.java
at line 141:This call references a method added in API level 19; however, the containing class androidx.documentfile.provider.DocumentFile is reachable from earlier API levels and will fail run-time class verification.
Found in
src/main/java/androidx/documentfile/provider/DocumentFile.java
at line 154: