Skip to content

Commit 2364de5

Browse files
authored
Merge branch 'main' into fix/typo
2 parents cd9c1b7 + 8c287e9 commit 2364de5

342 files changed

Lines changed: 17719 additions & 5915 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.ci/flutter_master.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2578d97f32c8ac47f446059a0a03dc434838e83e
1+
b16430b2fd57a5aa6b6c680cdbda5582506fe120

.ci/flutter_stable.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
1+
09de023485e95e6d1225c2baa44b8feb85e0d45f

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,24 @@
22

33
*List which issues are fixed by this PR. You must list at least one issue.*
44

5-
## Pre-launch Checklist
5+
## Pre-Review Checklist
66

77
- [ ] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
88
- [ ] I read the [Tree Hygiene] page, which explains my responsibilities.
99
- [ ] I read and followed the [relevant style guides] and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use `dart format`.)
1010
- [ ] I signed the [CLA].
1111
- [ ] The title of the PR starts with the name of the package surrounded by square brackets, e.g. `[shared_preferences]`
1212
- [ ] I [linked to at least one issue that this PR fixes] in the description above.
13-
- [ ] I updated `pubspec.yaml` with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].
14-
- [ ] I updated `CHANGELOG.md` to add a description of the change, [following repository CHANGELOG style], or this PR is [exempt from CHANGELOG changes].
15-
- [ ] I updated/added relevant documentation (doc comments with `///`).
16-
- [ ] I added new tests to check the change I am making, or this PR is [test-exempt].
13+
- [ ] I updated `pubspec.yaml` with an appropriate new version according to the [pub versioning philosophy], or I have commented below to indicate which [version change exemption] this PR falls under[^1].
14+
- [ ] I updated `CHANGELOG.md` to add a description of the change, [following repository CHANGELOG style], or I have commented below to indicate which [CHANGELOG exemption] this PR falls under[^1].
15+
- [ ] I updated/added any relevant documentation (doc comments with `///`).
16+
- [ ] I added new tests to check the change I am making, or I have commented below to indicate which [test exemption] this PR falls under[^1].
1717
- [ ] All existing and new tests are passing.
1818

1919
If you need help, consider asking for advice on the #hackers-new channel on [Discord].
2020

21+
[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
22+
2123
<!-- Links -->
2224
[Contributor Guide]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md
2325
[Tree Hygiene]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md
@@ -26,7 +28,7 @@ If you need help, consider asking for advice on the #hackers-new channel on [Dis
2628
[Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
2729
[linked to at least one issue that this PR fixes]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#overview
2830
[pub versioning philosophy]: https://dart.dev/tools/pub/versioning
29-
[exempt from version changes]: https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#version
31+
[version change exemption]: https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#version
3032
[following repository CHANGELOG style]: https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changelog-style
31-
[exempt from CHANGELOG changes]: https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changelog
32-
[test-exempt]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#tests
33+
[CHANGELOG exemption]: https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changelog
34+
[test exemption]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#tests

packages/camera/camera/test/camera_value_test.dart

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,22 @@ void main() {
146146
description: FakeController.fakeDescription,
147147
);
148148

149-
expect(cameraValue.toString(),
150-
'CameraValue(isRecordingVideo: false, isInitialized: false, errorDescription: null, previewSize: Size(10.0, 10.0), isStreamingImages: false, flashMode: FlashMode.auto, exposureMode: ExposureMode.auto, focusMode: FocusMode.auto, exposurePointSupported: true, focusPointSupported: true, deviceOrientation: DeviceOrientation.portraitUp, lockedCaptureOrientation: DeviceOrientation.portraitUp, recordingOrientation: DeviceOrientation.portraitUp, isPreviewPaused: true, previewPausedOrientation: DeviceOrientation.portraitUp, description: CameraDescription(, CameraLensDirection.back, 0))');
149+
expect(
150+
cameraValue.toString(),
151+
'CameraValue(isRecordingVideo: false, isInitialized: false, '
152+
'errorDescription: null, previewSize: Size(10.0, 10.0), '
153+
'isStreamingImages: false, flashMode: FlashMode.auto, '
154+
'exposureMode: ExposureMode.auto, focusMode: FocusMode.auto, '
155+
'exposurePointSupported: true, focusPointSupported: true, '
156+
'deviceOrientation: DeviceOrientation.portraitUp, '
157+
'lockedCaptureOrientation: DeviceOrientation.portraitUp, '
158+
'recordingOrientation: DeviceOrientation.portraitUp, '
159+
'isPreviewPaused: true, '
160+
'previewPausedOrientation: DeviceOrientation.portraitUp, '
161+
// CameraDescription.toString is defined in the platform interface
162+
// package, so don't assert a specific value for it, only that
163+
// whatever it returns is inserted as expected.
164+
'description: ${FakeController.fakeDescription})');
151165
});
152166
});
153167
}

packages/camera/camera_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.10.10+1
2+
3+
* Updates compileSdk 34 to flutter.compileSdkVersion.
4+
15
## 0.10.10
26

37
* Adds API support query for image streaming.

packages/camera/camera_android/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ buildFeatures {
3131
buildConfig true
3232
}
3333
namespace 'io.flutter.plugins.camera'
34-
compileSdk 34
34+
compileSdk = flutter.compileSdkVersion
3535

3636
defaultConfig {
3737
minSdkVersion 21

packages/camera/camera_android/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ description: Android implementation of the camera plugin.
33
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
55

6-
version: 0.10.10
6+
version: 0.10.10+1
77

88
environment:
9-
sdk: ^3.5.0
10-
flutter: ">=3.24.0"
9+
sdk: ^3.6.0
10+
flutter: ">=3.27.0"
1111

1212
flutter:
1313
plugin:

packages/camera/camera_android_camerax/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.14+1
2+
3+
* Updates compileSdk 34 to flutter.compileSdkVersion.
4+
15
## 0.6.14
26

37
* Fixes incorrect camera preview rotation.

packages/camera/camera_android_camerax/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ apply plugin: 'com.android.library'
2424
android {
2525
namespace 'io.flutter.plugins.camerax'
2626
// CameraX dependencies require compilation against version 33 or later.
27-
compileSdk 34
27+
compileSdk = flutter.compileSdkVersion
2828

2929
compileOptions {
3030
sourceCompatibility JavaVersion.VERSION_11

packages/camera/camera_android_camerax/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: camera_android_camerax
22
description: Android implementation of the camera plugin using the CameraX library.
33
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android_camerax
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
5-
version: 0.6.14
5+
version: 0.6.14+1
66

77
environment:
88
sdk: ^3.6.0

0 commit comments

Comments
 (0)