Add exception to LOG.e

pull/630/head
Mattia Iavarone 6 years ago
parent 07371482e9
commit 90781cdcbf
  1. 2
      cameraview/src/main/java/com/otaliastudios/cameraview/engine/Camera2Engine.java

@ -249,7 +249,7 @@ public class Camera2Engine extends CameraEngine implements ImageReader.OnImageAv
// mSession is invalid - has been closed. This is extremely worrying because // mSession is invalid - has been closed. This is extremely worrying because
// it means that the session state and getPreviewState() are not synced. // it means that the session state and getPreviewState() are not synced.
// This probably signals an error in the setup/teardown synchronization. // This probably signals an error in the setup/teardown synchronization.
LOG.e("applyRepeatingRequestBuilder: session is invalid!", LOG.e("applyRepeatingRequestBuilder: session is invalid!", e,
"checkStarted:", checkStarted, "checkStarted:", checkStarted,
"currentThread:", Thread.currentThread().getName(), "currentThread:", Thread.currentThread().getName(),
"previewState:", getPreviewState(), "previewState:", getPreviewState(),

Loading…
Cancel
Save