Assigned
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.2.10-12414864 Hypervisor Version: HVF 14.7.0
Android SDK Tools: invalid
Host Operating System: macOS 14.7.1
CPU Manufacturer: Apple CPU Virtualization is supported
Bare metal 64-bit CPU
RAM: 36864 MB
GPU:
Build Fingerprint: google/sdk_gphone64_arm64/emu64a:15/AE3A.240806.005/12228598:user/dev-keys
AVD Details: Name: Pixel_8_API_35_Emulator CPU/ABI: arm64 Path: /Users/onagia1/.android/avd/Pixel_8_API_35_Emulator.avd Target: google_apis_playstore [Google Play] (API level 35) Skin: pixel_8 SD Card: 512M AvdId: Pixel_8_API_35_Emulator PlayStore.enabled: true avd.ini.displayname: Pixel 8 API 35 Emulator avd.ini.encoding: UTF-8 disk.dataPartition.size: 6442450944 fastboot.chosenSnapshotFile: fastboot.forceChosenSnapshotBoot: no fastboot.forceColdBoot: no fastboot.forceFastBoot: yes hw.accelerometer: yes hw.arc: false hw.audioInput: yes hw.battery: yes hw.camera.back: virtualscene hw.camera.front: emulated hw.cpu.ncore: 4 hw.dPad: no hw.device.hash2: MD5:90973dc6b682b7344df33a6250481866 hw.device.manufacturer: Google hw.device.name: pixel_8 hw.gps: yes hw.gpu.enabled: yes hw.gpu.mode: auto hw.initialOrientation: portrait hw.keyboard: yes hw.lcd.density: 420 hw.lcd.height: 2400 hw.lcd.width: 1080 hw.mainKeys: no hw.ramSize: 2048 hw.sdCard: yes hw.sensors.orientation: yes hw.sensors.proximity: yes hw.trackBall: no image.sysdir.1: system-images/android-35/google_apis_playstore/arm64-v8a/ runtime.network.latency: none runtime.network.speed: full showDeviceFrame: yes skin.dynamic: yes tag.display: Google Play tag.displaynames: Google Play tag.id: google_apis_playstore tag.ids: google_apis_playstore vm.heapSize: 256
Steps to Reproduce Bug: Expected Behavior:
Observed Behavior: