Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Update Camera.java #3256

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ private void createCaptureSession(int templateType, Surface... surfaces)
createCaptureSession(templateType, null, surfaces);
}

// Current workaround for API 30
@Deprecated
private void createCaptureSession(
int templateType, Runnable onSuccessCallback, Surface... surfaces)
throws CameraAccessException {
Expand Down