-
Notifications
You must be signed in to change notification settings - Fork 29.7k
When searching for the JDK bundled with an unrecognized version of Android Studio, assume the version to be the latest #125247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Christopher Fujino <[email protected]>
christopherfujino
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you testing if version.major = 2023?
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
christopherfujino
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
…on of Android Studio, assume the version to be the latest (flutter/flutter#125247)
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.