And remove the Camera argument from onCameraError() as it wouldn't make sense when Camera.open() fails.