Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Bump minimum android_api_level to 19 #750

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

mraleph
Copy link
Member

@mraleph mraleph commented Aug 3, 2023

We don't support API levels 18 and below anyway.

I would like to make a change to Dart SDK that requires API level 18 or above.

We don't support API levels 18 and below anyway.
@mraleph mraleph requested a review from goderbauer August 3, 2023 07:50
@chinmaygarde
Copy link
Member

cc @reidbaker for another review. We believe this is good to go but not sure if there was some other hold.

@reidbaker
Copy link
Contributor

Please hold on this PR. We have a single google customer that we are waiting on to update their minSdk. ETA is mid next week. I am surprised that FROB didnt fail on this pr.

cl/551217709

@chinmaygarde chinmaygarde self-requested a review August 3, 2023 21:59
@mraleph
Copy link
Member Author

mraleph commented Aug 4, 2023

@reidbaker FROB does not fail because these two things are unconnected. AndroidManifest can say minSdk=16 while engine C++ is compiled assuming something newer. For example ARM64 and X64 builds of engine are building with SDK version set to 22 already. See default value for android_api_level.

@reidbaker
Copy link
Contributor

@reidbaker FROB does not fail because these two things are unconnected. AndroidManifest can say minSdk=16 while engine C++ is compiled assuming something newer. For example ARM64 and X64 builds of engine are building with SDK version set to 22 already. See default value for android_api_level.

Thanks for this explanation

@mraleph mraleph merged commit a067408 into flutter:master Aug 4, 2023
@mraleph
Copy link
Member Author

mraleph commented Aug 4, 2023

@reidbaker thanks for approving! is buildroot autorolled into engine or should I roll manually?

@reidbaker
Copy link
Contributor

I actually dont know @chinmaygarde can you answer?

@mraleph
Copy link
Member Author

mraleph commented Aug 4, 2023

I checked autoroller configurations and I could not find one for buildroot - so I am going to roll manually.

@chinmaygarde
Copy link
Member

No. There is no buildroot autoroller.

auto-submit bot pushed a commit to flutter/engine that referenced this pull request Nov 10, 2023
The latest Robolectric version, 4.11.x, removed the support for SDKs < 19 by following AndroidX strategy. Also following flutter/buildroot#750, and removing obsolete SDK checking in code to pass android_lint checking after bumping minSdk to 19 for testing target.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
auto-submit bot added a commit to flutter/engine that referenced this pull request Nov 10, 2023
Reverts #47686
Initiated by: zanderso
This change reverts the following previous change:
Original Description:
The latest Robolectric version, 4.11.x, removed the support for SDKs < 19 by following AndroidX strategy. Also following flutter/buildroot#750, and removing obsolete SDK checking in code to pass android_lint checking after bumping minSdk to 19 for testing target.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants