camera.setPreviewCallback(null); returned before takePicture call.
Merge branch 'master' of https://github.com/almalence/OpenCamera.git