Fixed
Status Update
Comments
hu...@google.com <hu...@google.com> #3
Hi Bryan. I wasn't able to reproduce this issue on a Nexus 10 emulator running onAndroid 8.1.0, I also tested on a physical tablet (Nexus 9 running on Android 7.1.1). You mentioned this issue "might be related to another bug", which bug were you talking about?
br...@gmail.com <br...@gmail.com> #4
This was the related bug:
It's weird that you aren't able to reproduce. I just did a fresh clone of the repo (
- I'm on a MacBook Pro 15-inch, 2019 runing 10.15.3
- Running Android Studio 3.6.1
- AdoptOpenJDK 8
- Full emulator details:
Name: 10_27
CPU/ABI: Google APIs Intel Atom (x86)
Path: /Users/bsills/.android/avd/10_27.avd
Target: google_apis [Google APIs] (API level 27)
Skin: 2560x1600
SD Card: 512M
fastboot.chosenSnapshotFile:
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: Nexus 10
hw.lcd.width: 2560
hw.initialOrientation: landscape
image.androidVersion.api: 27
tag.id: google_apis
hw.mainKeys: no
hw.camera.front: emulated
avd.ini.displayname: 10 27
hw.gpu.mode: auto
hw.ramSize: 1536
PlayStore.enabled: false
fastboot.forceColdBoot: no
hw.cpu.ncore: 4
hw.keyboard: yes
hw.sensors.proximity: no
hw.dPad: no
hw.lcd.height: 1600
vm.heapSize: 192
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
skin.path.backup: _no_skin
hw.audioInput: yes
image.sysdir.1: system-images/android-27/google_apis/x86/
showDeviceFrame: no
hw.camera.back: virtualscene
AvdId: 10_27
hw.lcd.density: 320
hw.arc: false
hw.device.hash2: MD5:813203ac93d1d63cd91f729c376b1f3e
fastboot.forceChosenSnapshotBoot: no
fastboot.forceFastBoot: yes
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Google APIs
runtime.network.latency: none
disk.dataPartition.size: 800M
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
er...@google.com <er...@google.com>
fi...@gmail.com <fi...@gmail.com> #5
The same problem on this emulator device
Name: Pixel_2_API_25
CPU/ABI: Google Play Intel Atom (x86)
Path: /Users/viktor/.android/avd/Pixel_2_API_25.avd
Target: google_apis_playstore [Google Play] (API level 25)
Skin: 1080x1920
SD Card: 512M
fastboot.chosenSnapshotFile:
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name : pixel_2
hw.lcd.width: 1080
hw.initialOrientation: Portrait
image.androidVersion.api: 25
tag.id : google_apis_playstore
hw.mainKeys: no
hw.camera.front: emulated
avd.ini.displayname: Pixel 2 API 25
hw.gpu.mode: auto
hw.ramSize: 1536
PlayStore.enabled: true
fastboot.forceColdBoot: no
hw.cpu.ncore: 2
hw.keyboard: yes
hw.sensors.proximity: yes
hw.dPad: no
hw.lcd.height: 1920
vm.heapSize: 256
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
skin.path.backup: _no_skin
hw.audioInput: yes
image.sysdir.1: system-images/android-25/google_apis_playstore/x86/
showDeviceFrame: no
hw.camera.back: virtualscene
AvdId: Pixel_2_API_25
hw.lcd.density: 420
hw.arc: false
hw.device.hash2: MD5:55acbc835978f326788ed66a5cd4c9a7
fastboot.forceChosenSnapshotBoot: no
fastboot.forceFastBoot: yes
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Google Play
runtime.network.latency: none
disk.dataPartition.size: 6442450944
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
Name: Pixel_2_API_25
CPU/ABI: Google Play Intel Atom (x86)
Path: /Users/viktor/.android/avd/Pixel_2_API_25.avd
Target: google_apis_playstore [Google Play] (API level 25)
Skin: 1080x1920
SD Card: 512M
fastboot.chosenSnapshotFile:
runtime.network.speed: full
hw.accelerometer: yes
hw.lcd.width: 1080
hw.initialOrientation: Portrait
image.androidVersion.api: 25
hw.mainKeys: no
hw.camera.front: emulated
avd.ini.displayname: Pixel 2 API 25
hw.gpu.mode: auto
hw.ramSize: 1536
PlayStore.enabled: true
fastboot.forceColdBoot: no
hw.cpu.ncore: 2
hw.keyboard: yes
hw.sensors.proximity: yes
hw.dPad: no
hw.lcd.height: 1920
vm.heapSize: 256
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
skin.path.backup: _no_skin
hw.audioInput: yes
image.sysdir.1: system-images/android-25/google_apis_playstore/x86/
showDeviceFrame: no
hw.camera.back: virtualscene
AvdId: Pixel_2_API_25
hw.lcd.density: 420
hw.arc: false
hw.device.hash2: MD5:55acbc835978f326788ed66a5cd4c9a7
fastboot.forceChosenSnapshotBoot: no
fastboot.forceFastBoot: yes
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Google Play
runtime.network.latency: none
disk.dataPartition.size: 6442450944
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
br...@gmail.com <br...@gmail.com> #6
This bug appears to be fixed with the May 27th 1.0.0-beta04 release for camera-camera2, camera-core, camera-lifecycle and the 1.0.0-alpha11 release for camera-view. I believe this ticket can be marked as resolved.
Description
CAMERA APPLICATION NAME AND VERSION: CameraXBasic (
ANDROID OS BUILD NUMBER: 8.1.0
DEVICE NAME: Nexus 10 Emulator
DESCRIPTION: The camera preview is stretched for the Nexus 10 emulator
STEPS TO REPRODUCE:
1. Launch the demo application
OBSERVED RESULTS: The camera preview displayed is stretched (portrait is squished horizontally, landscape is squished vertically)
EXPECTED RESULTS: The camera preview is not visually stretched
REPRODUCIBILITY: 5 of 5
ADDITIONAL INFORMATION: Might be related to another bug