Skip to content

Commit

Permalink
Fix NRE when calling setExposureOffset
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanbeusekom committed Mar 3, 2021
1 parent 02d009e commit 3481c1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ public void setExposureOffset(@NonNull final Result result, double offset)

// Refresh capture session
refreshPreviewCaptureSession(
() -> result.success(null),
() -> result.success(offset),
(code, message) ->
result.error("setExposureModeFailed", "Could not set flash mode.", null));
}
Expand Down

0 comments on commit 3481c1e

Please sign in to comment.