Can't Repro
Status Update
Comments
rk...@google.com <rk...@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
Please Read:https://developer.android.com/studio/report-bugs.html#emulator-bugs
Android Studio Version: Unknown
Emulator Version (Emulator--> Extended Controls--> Emulator Version): 35.1.21-12325540 Hypervisor Version: aehd 131074.0.0
Android SDK Tools: 26.1.1
Host Operating System: Windows 10 Home Single Language
CPU Manufacturer: AMD CPU Virtualization is supported Bare metal 64-bit CPU
RAM: 12108 MB
GPU: GPU #1 Make: 1002 Model: AMD Radeon(TM) Vega 8 Graphics Device ID: 15dd
Build Fingerprint: google/sdk_gphone64_x86_64/emu64xa:15/AE3A.240806.005/12228598:user/dev-keys
AVD Details: Name: Medium_Phone_API_35 CPU/ABI: x86_64 Path: C:\Users\ADG-065.android\avd\Medium_Phone_API_35.avd Target: google_apis_playstore [Google Play] (API level 35) Skin: 1080x2400 SD Card: 800M Snapshot: noAvdId: Medium_Phone_API_35 PlayStore.enabled: true avd.ini.displayname: Medium Phone API 35 avd.ini.encoding: UTF-8 disk.dataPartition.size: 6442450944 hw.accelerometer: yes hw.arc: false hw.audioInput: yes hw.battery: yes hw.camera.back: virtualscene hw.camera.front: emulated hw.cpu.ncore: 2 hw.dPad: no hw.device.hash2: MD5:3db3250dab5d0d93b29353040181c7e9 hw.device.manufacturer: Generic hw.device.name: medium_phone hw.gps: yes hw.gpu.enabled: yes hw.gpu.mode: auto hw.keyboard: yes hw.lcd.density: 420 hw.lcd.height: 2400 hw.lcd.width: 1080 hw.mainKeys: no hw.ramSize: 2G hw.sdCard: yes hw.sensors.orientation: yes hw.sensors.proximity: yes hw.trackBall: no image.sysdir.1: system-images\android-35\google_apis_playstore\x86_64
runtime.network.latency: none runtime.network.speed: full snapshot.present: no tag.display: Google Play tag.displaynames: Google Play tag.id: google_apis_playstore tag.ids: google_apis_playstore vm.heapSize: 336
Steps to Reproduce Bug: Expected Behavior:
Observed Behavior: