Skip to content

Commit

Permalink
Merge pull request flutter#4 from bottlepay/android-rework-exposure-o…
Browse files Browse the repository at this point in the history
…ffset-error

Fix NRE when calling setExposureOffset
  • Loading branch information
acoutts authored Mar 3, 2021
2 parents 818cc0d + 3481c1e commit 4a4c082
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,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 4a4c082

Please sign in to comment.