Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 00124f4

Browse files
committed
Update version number
1 parent b0f18b7 commit 00124f4

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

packages/camera/camera/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.6+1
2+
3+
* Make sure the configured zoom scale is copied over to the final capture builder on Android. Fixes the issue where the preview is zoomed but the final picture is not.
4+
15
## 0.6.6
26

37
* Adds auto focus support for Android and iOS implementations.

packages/camera/camera/android/src/main/java/io/flutter/plugins/camera/Camera.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,9 @@ private void runPictureCapture() {
545545
final CaptureRequest.Builder captureBuilder =
546546
cameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE);
547547
captureBuilder.addTarget(pictureImageReader.getSurface());
548-
captureBuilder.set(CaptureRequest.SCALER_CROP_REGION, captureRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION));
548+
captureBuilder.set(
549+
CaptureRequest.SCALER_CROP_REGION,
550+
captureRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION));
549551
captureBuilder.set(CaptureRequest.JPEG_ORIENTATION, getMediaOrientation());
550552
switch (flashMode) {
551553
case off:

packages/camera/camera/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: camera
22
description: A Flutter plugin for getting information about and controlling the
33
camera on Android and iOS. Supports previewing the camera feed, capturing images, capturing video,
44
and streaming image buffers to dart.
5-
version: 0.6.6
5+
version: 0.6.6+1
66
homepage: https://github.com/flutter/plugins/tree/master/packages/camera/camera
77

88
dependencies:

0 commit comments

Comments
 (0)