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
Android Studio Version: Unknown
Emulator Version (Emulator--> Extended Controls--> Emulator Version): 35.3.11-12836668
Hypervisor Version: WHPX 10.0.26100
Android SDK Tools: invalid
Host Operating System: Windows 11 Home
CPU Manufacturer: AMD CPU
Hyper-V Root Partition
64-bit CPU
RAM: 7413 MB
GPU: GPU #1
Make: 1002
Model: AMD Radeon(TM) Graphics
Device ID: 1506
Build Fingerprint: google/sdk_gphone16k_x86_64/emu64xa16k:15/AE3A.240806.041/12890756:user/dev-keys
AVD Details: Name: Pixel_Fold_API_35
CPU/ABI: x86_64
Path: C:\Users\flirt\.android\avd\Pixel_Fold_API_35.avd
Target: google_apis_playstore [Google APIs PlayStore] (API level 35)
Skin: default
SD Card: 512M
AvdId: Pixel_Fold_API_35
PlayStore.enabled: true
avd.ini.displayname: Pixel Fold API 35
avd.ini.encoding: UTF-8
disk.dataPartition.size: 6442450944
fastboot.forceChosenSnapshotBoot: no
fastboot.forceColdBoot: yes
fastboot.forceFastBoot: no
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:253a4eaf19dee95e9be9194ced30b3df
hw.device.manufacturer: Google
hw.displayRegion.0.1.height: 2092
hw.displayRegion.0.1.width: 1080
hw.displayRegion.0.1.xOffset: 0
hw.displayRegion.0.1.yOffset: 0
hw.gps: yes
hw.gpu.enabled: yes
hw.gpu.mode: auto
hw.initialOrientation: landscape
hw.keyboard: yes
hw.keyboard.lid: yes
hw.lcd.density: 420
hw.lcd.height: 1840
hw.lcd.width: 2208
hw.mainKeys: no
hw.ramSize: 2048
hw.sdCard: yes
hw.sensor.hinge: yes
hw.sensor.hinge.areas: 1080-0-0-1840
hw.sensor.hinge.count: 1
hw.sensor.hinge.defaults: 180
hw.sensor.hinge.ranges: 0-180
hw.sensor.hinge.sub_type: 1
hw.sensor.hinge.type: 1
hw.sensor.hinge_angles_posture_definitions: 0-30, 30-150, 150-180
hw.sensor.posture_list: 1, 2, 3
hw.sensors.orientation: yes
hw.sensors.proximity: yes
hw.trackBall: no
image.sysdir.1: system-images\android-35\google_apis_playstore_ps16k\x86_64\
runtime.network.latency: none
runtime.network.speed: full
showDeviceFrame: yes
skin.dynamic: yes
tag.display: Google APIs PlayStore
tag.displaynames: Google APIs PlayStore,Page Size 16KB
tag.ids: google_apis_playstore,page_size_16kb
vm.heapSize: 336
Steps to Reproduce Bug:
Expected Behavior:
Observed Behavior: