When searching for the JDK bundled with an unrecognized version of Android Studio, assume the version to be the latest#125247
Merged
auto-submit[bot] merged 10 commits intoflutter:masterfrom Apr 21, 2023
Conversation
Co-authored-by: Christopher Fujino <[email protected]>
Contributor
christopherfujino
left a comment
There was a problem hiding this comment.
Are you testing if version.major = 2023?
Contributor
Author
No. Instead of this, I could add a "version next" case (e.g. version 999999). |
packages/flutter_tools/test/general.shard/android/android_studio_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_tools/test/general.shard/android/android_studio_test.dart
Show resolved
Hide resolved
Co-authored-by: Christopher Fujino <[email protected]>
packages/flutter_tools/test/general.shard/android/android_studio_test.dart
Outdated
Show resolved
Hide resolved
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 21, 2023
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 21, 2023
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 22, 2023
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 22, 2023
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 23, 2023
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 23, 2023
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 24, 2023
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 24, 2023
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 24, 2023
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 24, 2023
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 25, 2023
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 25, 2023
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
8 tasks
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #125246 by restoring the intended behavior of #101862. That is, when searching for a JDK and we encounter an Android Studio version we don't recognize, assume it to be the latest version
flutteris aware of.Also does some light refactoring in the tests, like using test objects instead of referencing
globals.Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.