Skip to content

Bump minSdk to 24 in engine - #175508

Merged
auto-submit[bot] merged 1290 commits into
flutter:masterfrom
AbdeMohlbi:patch-60
Dec 15, 2025
Merged

Bump minSdk to 24 in engine#175508
auto-submit[bot] merged 1290 commits into
flutter:masterfrom
AbdeMohlbi:patch-60

Conversation

@AbdeMohlbi

@AbdeMohlbi AbdeMohlbi commented Sep 17, 2025

Copy link
Copy Markdown
Member

Relands #175278
this PR bumps used minSdk version in the engine to 24 .

Pre-launch Checklist

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

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

@github-actions github-actions Bot added platform-android Android applications specifically engine flutter/engine related. See also e: labels. team-android Owned by Android platform team labels Sep 17, 2025
@AbdeMohlbi
AbdeMohlbi marked this pull request as ready for review September 17, 2025 16:04
@AbdeMohlbi
AbdeMohlbi requested a review from a team as a code owner September 17, 2025 16:04
@reidbaker
reidbaker requested a review from gmackall September 17, 2025 16:56
@reidbaker

Copy link
Copy Markdown
Contributor

@gmackall I want you to look at the places where we throw and api exception and decide if you agree we should remove those or not.

@reidbaker reidbaker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, please undo the listener changes that are unrelated to the api 23 code removal.

@AbdeMohlbi

This comment was marked as resolved.

@reidbaker reidbaker added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 23, 2025
@auto-submit

auto-submit Bot commented Sep 23, 2025

Copy link
Copy Markdown
Contributor

autosubmit label was removed for flutter/flutter/175508, because - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Sep 23, 2025
@reidbaker

Copy link
Copy Markdown
Contributor

This will take work from a googler. There are some tests that are failing because they assume the min is api 23 not 24.

@gmackall

This comment was marked as resolved.

@gmackall gmackall left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the changes lgtm outside of getting tests passing

@AbdeMohlbi

AbdeMohlbi commented Sep 24, 2025

Copy link
Copy Markdown
Member Author

the Linux flutter_plugins is unrelated ,error:

Analyzing google_maps_flutter_web...

  error - example/integration_test/overlay_test.dart:44:31 - A value of type 'Size?' can't be assigned to a variable of type 'Size'. Try changing the type of the variable, or casting the right-hand type to 'Size'. - invalid_assignment```  

@gmackall gmackall changed the title Bump minSdk to 24 and adreess linter issues that caused test failures Bump minSdk to 24 and address linter issues that caused test failures Sep 24, 2025
@flutter-dashboard

Copy link
Copy Markdown

It looks like this pull request may not have tests. Please make sure to add tests or get an explicit test exemption before merging.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. If you believe this PR qualifies for a test exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

@gmackall

Copy link
Copy Markdown
Member

Not sure why the google testing wasn't running automatically, lets see if it works now

@chinmaygarde

chinmaygarde commented Sep 29, 2025

Copy link
Copy Markdown
Contributor

This looks good to go. May I add the autosubmit tag?

@reidbaker

Copy link
Copy Markdown
Contributor

@chinmaygarde I thought this required a g3 cl to land this. I dont see google testing running against this pr.

There were failures related to this pr that were needed in g3.

@chinmaygarde

Copy link
Copy Markdown
Contributor

Oh, I figured that was already done since all checks were green.

@reidbaker

Copy link
Copy Markdown
Contributor

I manually kicked off a google testing pass that is now running.

@reidbaker

Copy link
Copy Markdown
Contributor

@AbdeMohlbi FYI @ash2moon is working on the g3 fix for this pr. Nothing you can do until he is done. Wanted to make sure you knew the team is actively working on getting this landed.

@AbdeMohlbi

Copy link
Copy Markdown
Member Author

@AbdeMohlbi FYI @ash2moon is working on the g3 fix for this pr. Nothing you can do until he is done. Wanted to make sure you knew the team is actively working on getting this landed.

Noted ✅

jmagman
jmagman previously requested changes Oct 7, 2025

@jmagman jmagman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why Google Testing didn't kick off on the last merge, I'm going to mark this as "request changes" until we get this resolved on the Google testing side so this doesn't accidentally get merged and need to be reverted post-submit.
@AbdeMohlbi thank you so much for your patience!

@AbdeMohlbi

Copy link
Copy Markdown
Member Author

I'm not sure why Google Testing didn't kick off on the last merge, I'm going to mark this as "request changes" until we get this resolved on the Google testing side so this doesn't accidentally get merged and need to be reverted post-submit. @AbdeMohlbi thank you so much for your patience!

no issue thank u for the info , i'm not sure but it may be related , smth simular happend in another PR where i was not a member at the time when that PR was created then when i became a member , google testing didn't kick off as usual maybe it's the same issue.

@reidbaker

Copy link
Copy Markdown
Contributor

Update from our side @ash2moon is working on migrating google apps. I didnt realize the number that had not migrated and some of those apps have policies around minimum api level bumping that we are working through. This pr will need to sit until that work is done. Probably at least a couple of weeks.

@github-actions github-actions Bot removed a: desktop Running on desktop team-infra Owned by Infrastructure team f: focus Focus traversal, gaining or losing focus team-ecosystem Owned by Ecosystem team e: impeller Impeller rendering backend issues and features requests team-engine Owned by Engine team team-ios Owned by iOS platform team d: docs/ flutter/flutter/docs, for contributors platform-macos labels Dec 10, 2025
@reidbaker
reidbaker requested a review from jmagman December 10, 2025 19:00
@reidbaker

reidbaker commented Dec 12, 2025

Copy link
Copy Markdown
Contributor

For some reason analyze_dart_ui is failing with a timeout https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20Engine%20Drone/3791344/overview

@jtmcdole

Copy link
Copy Markdown
Member

For some reason analyze_dart_ui is failing with a timeout https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20Engine%20Drone/3791344/overview

When was the last time this was synced. I did a rollback of a commit last night that had something similar for: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20Production%20Engine%20Drone/1375083/overview

@reidbaker

Copy link
Copy Markdown
Contributor

For some reason analyze_dart_ui is failing with a timeout https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20Engine%20Drone/3791344/overview

When was the last time this was synced. I did a rollback of a commit last night that had something similar for: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20Production%20Engine%20Drone/1375083/overview

2 days ago, will sync and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine flutter/engine related. See also e: labels. platform-android Android applications specifically team-android Owned by Android platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.