Skip to content

Commit

Permalink
Merge branch 'main' into issue-123867-async-await
Browse files Browse the repository at this point in the history
  • Loading branch information
feduke-nukem authored Dec 24, 2024
2 parents 934c5c7 + 864e6be commit 8ec409d
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 15 deletions.
4 changes: 0 additions & 4 deletions packages/camera/camera/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,5 @@ dev_dependencies:
integration_test:
sdk: flutter

dependency_overrides:
camera_web:
path: ../../camera_web

flutter:
uses-material-design: true
8 changes: 8 additions & 0 deletions packages/camera/camera_android_camerax/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 0.6.10+3

* Bumps com.google.guava:guava from 33.3.1-android to 33.4.0-android.

## 0.6.10+2

* Bumps camerax_version from 1.3.4 to 1.4.1.

## 0.6.10+1

* Removes nonnull annotation from MeteringPointHostApiImpl#getDefaultPointSize.
Expand Down
4 changes: 2 additions & 2 deletions packages/camera/camera_android_camerax/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ android {

dependencies {
// CameraX core library using the camera2 implementation must use same version number.
def camerax_version = "1.3.4"
def camerax_version = "1.4.1"
implementation "androidx.camera:camera-core:${camerax_version}"
implementation "androidx.camera:camera-camera2:${camerax_version}"
implementation "androidx.camera:camera-lifecycle:${camerax_version}"
implementation "androidx.camera:camera-video:${camerax_version}"
implementation 'com.google.guava:guava:33.3.1-android'
implementation 'com.google.guava:guava:33.4.0-android'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-inline:5.0.0'
testImplementation 'androidx.test:core:1.4.0'
Expand Down
2 changes: 1 addition & 1 deletion packages/camera/camera_android_camerax/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: camera_android_camerax
description: Android implementation of the camera plugin using the CameraX library.
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android_camerax
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
version: 0.6.10+1
version: 0.6.10+3

environment:
sdk: ^3.5.0
Expand Down
4 changes: 4 additions & 0 deletions packages/espresso/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.0+5

* Bumps com.squareup.okhttp3, com.google.code.gson, and com.google.truth.

## 0.4.0+4

* Updates agp to 8.7.2.
Expand Down
8 changes: 4 additions & 4 deletions packages/espresso/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ android {

dependencies {
implementation 'com.google.guava:guava:33.3.1-android'
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'com.google.code.gson:gson:2.11.0'
androidTestImplementation 'org.hamcrest:hamcrest:3.0'

testImplementation 'junit:junit:4.13.2'
testImplementation "com.google.truth:truth:1.1.3"
testImplementation "com.google.truth:truth:1.4.4"
api 'androidx.test.espresso:espresso-core:3.6.1'

// Core library
Expand All @@ -76,7 +76,7 @@ dependencies {
// Assertions
api 'androidx.test.ext:junit:1.2.1'
api 'androidx.test.ext:truth:1.6.0'
api 'com.google.truth:truth:1.1.3'
api 'com.google.truth:truth:1.4.4'

// Espresso dependencies
api 'androidx.test.espresso:espresso-core:3.6.1'
Expand Down
2 changes: 1 addition & 1 deletion packages/espresso/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Java classes for testing Flutter apps using Espresso.
Allows driving Flutter widgets from a native Espresso test.
repository: https://github.com/flutter/packages/tree/main/packages/espresso
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+espresso%22
version: 0.4.0+4
version: 0.4.0+5

environment:
sdk: ^3.5.0
Expand Down
4 changes: 4 additions & 0 deletions packages/image_picker/image_picker_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.8.12+19

* Updates androidx.activity:activity to 1.9.3.

## 0.8.12+18

* Fixes a security issue related to improperly trusting filenames provided by a `ContentProvider`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ android {
implementation 'androidx.core:core:1.13.1'
implementation 'androidx.annotation:annotation:1.9.0'
implementation 'androidx.exifinterface:exifinterface:1.3.7'
implementation 'androidx.activity:activity:1.9.2'
implementation 'androidx.activity:activity:1.9.3'

testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:5.1.1'
Expand Down
2 changes: 1 addition & 1 deletion packages/image_picker/image_picker_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: image_picker_android
description: Android implementation of the image_picker plugin.
repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
version: 0.8.12+18
version: 0.8.12+19

environment:
sdk: ^3.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ void main() {
testWidgets(
'live stream duration != 0',
(WidgetTester tester) async {
// This test requires network access, and won't pass until a LUCI recipe
// change is made.
// TODO(camsim99): Remove once https://github.com/flutter/flutter/issues/160797 is fixed.
if (!kIsWeb && Platform.isAndroid) {
markTestSkipped(
'Skipping due to https://github.com/flutter/flutter/issues/160797');
return;
}

final VideoPlayerController networkController =
VideoPlayerController.networkUrl(
Uri.parse(
Expand Down Expand Up @@ -266,6 +275,15 @@ void main() {
testWidgets(
'reports buffering status',
(WidgetTester tester) async {
// This test requires network access, and won't pass until a LUCI recipe
// change is made.
// TODO(camsim99): Remove once https://github.com/flutter/flutter/issues/160797 is fixed.
if (!kIsWeb && Platform.isAndroid) {
markTestSkipped(
'Skipping due to https://github.com/flutter/flutter/issues/160797');
return;
}

await controller.initialize();
// Mute to allow playing without DOM interaction on Web.
// See https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
Expand Down
2 changes: 1 addition & 1 deletion script/tool/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
path: ^1.8.3
platform: ^3.0.2
pub_semver: ^2.0.0
pubspec_parse: ^1.2.2
pubspec_parse: ^1.4.0
quiver: ^3.0.1
test: ^1.24.0
uuid: ^4.5.1
Expand Down

0 comments on commit 8ec409d

Please sign in to comment.