android / android/camera-samples

with Oppo Reno A(CPH 1983) i got some error with capture

Open
#380 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Kotlin
Stars
5.5k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

W/CaptureSession: Opening session with fail OPENING
android.hardware.camera2.CameraAccessException: CAMERA_DISCONNECTED (2): checkPidStatus:1746: The camera device has been disconnected

and when recall capture, onError function was called:

```
public void onError(@NonNull ImageCaptureException exception) {
Log .... exception.getImageCaptureError() // return 3 [camera is closed.]
}
```

it has no happened with others device.

others device include
Pixel 3x XL
HUAWEI P20 lite
AQUOS sense3
SHARP S3-SH
SHARP SHG01
LGE Nexus 5X

Contributor guide

Open the contributing guide

Research direction

Start by reproducing capture on the Oppo Reno A (CPH 1983) and inspect the reported CameraAccessException alongside the onError callback and its ImageCapture error value. Compare the behavior with the listed working devices; done means the device-specific failure is reproducible and its cause or a supported resolution is documented.

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
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.