From 5119729b4fd0660a1dbbae01ee27acee5da6c60f Mon Sep 17 00:00:00 2001 From: Vondear Date: Tue, 11 Sep 2018 09:04:16 +0800 Subject: [PATCH] update RxCameraView. --- RxCamera/src/main/java/com/vondear/camera/RxCameraView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/RxCamera/src/main/java/com/vondear/camera/RxCameraView.java b/RxCamera/src/main/java/com/vondear/camera/RxCameraView.java index 87dde4ee..551f2dfd 100644 --- a/RxCamera/src/main/java/com/vondear/camera/RxCameraView.java +++ b/RxCamera/src/main/java/com/vondear/camera/RxCameraView.java @@ -569,6 +569,7 @@ public void onPictureTaken(RxCameraView rxCameraView, byte[] data) { public boolean onTouchEvent(MotionEvent event) { if (event.getPointerCount() == 1) { if (camera != null) { + camera.release(); handleFocusMetering(event, camera); } } else {