Skip to content

Commit ccff7d3

Browse files
committed
fix: allow to take a second scan
1 parent 5ee81c5 commit ccff7d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/documentscanner/views/OpenNoteCameraView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ public void onPictureTaken(byte[] data, Camera camera) {
987987

988988
setImageProcessorBusy(true);
989989
sendImageProcessorMessage("pictureTaken", mat);
990-
990+
camera.cancelAutoFocus();
991991
safeToTakePicture = true;
992992

993993
}

0 commit comments

Comments
 (0)