Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix code format
  • Loading branch information
Gioxxy committed Jul 24, 2020
commit fbc12c47e624613f4956fe5c2cc2179344027fca
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,9 @@ public void resumeVideoRecording(@NonNull final Result result) {
}

public void startPreview() throws CameraAccessException {
if(pictureImageReader == null || pictureImageReader.getSurface() == null) {return;}
if(pictureImageReader == null || pictureImageReader.getSurface() == null) {
return;
}
createCaptureSession(CameraDevice.TEMPLATE_PREVIEW, pictureImageReader.getSurface());
}

Expand Down