Skip to content
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

Bump minimum Android API level to 21 #2173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Isira-Seneviratne
Copy link
Contributor

@Isira-Seneviratne Isira-Seneviratne commented Jul 16, 2024

Android versions below 5.0 (API level 21) are obsolete these days. This change would allow the use of features such as StandardCharsets, which is available on Android 4.4 (API level 19) and higher.

This PR also changes one Sniffer dependency to Gummy Bears, which has support for desugaring.

@Isira-Seneviratne Isira-Seneviratne force-pushed the Sniffer-API-21 branch 2 times, most recently from 798c5c1 to 1f91749 Compare July 16, 2024 10:53
@Isira-Seneviratne Isira-Seneviratne force-pushed the Sniffer-API-21 branch 2 times, most recently from 0a36a35 to 3151ea5 Compare July 16, 2024 11:01
@jhy
Copy link
Owner

jhy commented Jul 17, 2024

Is there anything other that might be useful other than StandardCharsets? That doesn't really make any difference from my POV, being that we statically initialize UTF-8 anyway at startup.

I get that the usage is very low % wise, but I don't see a reason to remove support just because?

@Isira-Seneviratne
Copy link
Contributor Author

There's also try-with-resources.

@jhy jhy added this to the 1.19.1 milestone Jul 29, 2024
@jhy
Copy link
Owner

jhy commented Jul 29, 2024

OK, try-with-resources will be good to have. I have marked this for the 1.19.1 milestone (vs 1.18.2), as I feel that the change warrants being in a major bump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants