Skip to content

Commit

Permalink
Added removed fix on one plus
Browse files Browse the repository at this point in the history
  • Loading branch information
susanapons89 committed Apr 8, 2020
1 parent fa56949 commit 0884df1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ public void onConfigured(@NonNull CameraCaptureSession session) {
Log.e(TAG, "Failed to start camera preview because it couldn't access camera", e);
} catch (IllegalStateException e) {
Log.e(TAG, "Failed to start camera preview.", e);
} catch (IllegalArgumentException e) {
Log.e(TAG, "Something went wrong: " + e.getClass().getName());
mCallback.onMountError();
}
}

Expand Down

0 comments on commit 0884df1

Please sign in to comment.