Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Budiyev committed Dec 20, 2017
1 parent 7d7b18f commit 06eca78
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -641,16 +641,12 @@ public void run() {
if (errorCallback != null) {
errorCallback.onError(e);
} else {
if (e instanceof RuntimeException) {
throw (RuntimeException) e;
} else {
throw new CodeScannerException(e);
}
throw e;
}
}
}

private void initialize() throws Exception {
private void initialize() {
Camera camera = null;
Camera.CameraInfo cameraInfo = new Camera.CameraInfo();
int cameraId = mCameraId;
Expand Down

0 comments on commit 06eca78

Please sign in to comment.