You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Detailed steps to reproduce the issue:
1- call the camera1.capturePicture()
2- and if user immediately click on toggle facing buttom (when capturePicture is in progress) the CameraView.toggleFacing() is called
3- camera1.capturePicture() is disable!
Expected behavior:
after call toggleFacing, capturePicture take a picture
problem description:
1- camera1.capturePicture() --> mIsCapturingImage = true;
2- CameraView.toggleFacing() --> camera1.onStop() --> mCamera.release(); and mIsCapturingImage is never false
3- camera1.capturePicture() does not work beacuse when mIsCapturingImage==true capturePicture return immediately
how to fix it:
in the last line of camera1.onStop() add the following line: mIsCapturingImage = false;
The text was updated successfully, but these errors were encountered:
Yumcoder-dev
changed the title
report a bug - capturePicture() do not take a picture!
report a bug - capturePicture() does not take a picture!
Feb 25, 2018
Detailed steps to reproduce the issue:
1- call the camera1.capturePicture()
2- and if user immediately click on toggle facing buttom (when capturePicture is in progress) the CameraView.toggleFacing() is called
3- camera1.capturePicture() is disable!
Expected behavior:
after call toggleFacing, capturePicture take a picture
problem description:
1- camera1.capturePicture() --> mIsCapturingImage = true;
2- CameraView.toggleFacing() --> camera1.onStop() --> mCamera.release(); and mIsCapturingImage is never false
3- camera1.capturePicture() does not work beacuse when mIsCapturingImage==true capturePicture return immediately
how to fix it:
in the last line of camera1.onStop() add the following line:
mIsCapturingImage = false;
The text was updated successfully, but these errors were encountered: