android / android/camera-samples
[100% Reproducible] Camera2 Preview Appears Distorted Under Multi-window Mode
- Dominant language
- Kotlin
- Stars
- 5.5k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Device model: Galaxy S9 SM-G960U
Android version: 10
Android build number: QP1A. 190711.020.G960USQU9FUE1
Steps to reproduce (on any device running Android 7+):
1. Open camera 2 sample app in multi-window mode and open another app in parallel.
2. Drag the middle border to adjust the window size.
3. Notice the camera preview become distorted.

Contributor guide
Research direction
Start by reproducing the distortion in the Camera2 sample app on Android 7+ while resizing it in multi-window mode. Trace how the camera preview responds to window-size changes; done means the preview retains correct proportions instead of becoming distorted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100