Skip to content

Commit

Permalink
add SuppressWarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
yume-chan committed Aug 13, 2023
1 parent 5270b82 commit aec4362
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public void onError(CameraDevice camera, int error) {
return result[0];
}

@SuppressWarnings("deprecation")
private CameraCaptureSession createCaptureSession(CameraDevice camera, Surface surface) throws CameraAccessException, InterruptedException {
Semaphore semaphore = new Semaphore(0);
final CameraCaptureSession[] result = new CameraCaptureSession[1];
Expand Down

0 comments on commit aec4362

Please sign in to comment.