Skip to content

android: Support Android 10 and unify API-level definition - #46308

Merged
jschwe merged 1 commit into
servo:mainfrom
jschwe:android_minsdk_downgrade
Jul 6, 2026
Merged

android: Support Android 10 and unify API-level definition#46308
jschwe merged 1 commit into
servo:mainfrom
jschwe:android_minsdk_downgrade

Conversation

@jschwe

@jschwe jschwe commented Jul 6, 2026

Copy link
Copy Markdown
Member

Unify the minimum supported API-level definition, by defining it in a new servo.properties file that is read by both gradle and mach, so that we only need to change the value in one place. Downgrade the value to 29 (android 10), which was released in 2019 and covers 91% of devices according to https://apilevels.com/ (vs. 87% for android 11).

Android 9 would also be possible for arm64, however the emulator smoketest crashes on x86_64 due to usage of the open syscall, which that emulator apparently doesn't like.

Testing: Covered by ./mach smoketest (mach try android)

Unify the minimum supported API-level definition, by defining it
in a new servo.properties file that is read by both gradle and mach,
so that we only need to change the value in one place.
Downgrade the value to `29` (android 10), which was released in 2019 and
covers 91% of devices according to https://apilevels.com/.

Android 9 would also be possible for arm64, however the emulator
smoketest crashes on x86_64 due to usage of the `open` syscall,
which that emulator apparently doesn't like.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
@jschwe
jschwe requested a review from sagudev as a code owner July 6, 2026 11:25
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 6, 2026

@jdm jdm 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.

Makes sense!

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jul 6, 2026
@jschwe
jschwe added this pull request to the merge queue Jul 6, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 6, 2026
Merged via the queue into servo:main with commit 9a22520 Jul 6, 2026
35 checks passed
@jschwe
jschwe deleted the android_minsdk_downgrade branch July 6, 2026 13:46
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 6, 2026
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.

3 participants