Bump the min sdk of Tethering

This is required because we are bumping the min sdk of NetworkStack
which this depends on.

Test: build locally + aapt2 dump badging

Bug: 444168252

Flag: build.RELEASE_DEPRECATE_MAINLINE_R_SUPPORT
Change-Id: Idbff03cdcca9955a4759c19866895f755abedaaf
This commit is contained in:
Pedro Loureiro 2025-09-12 12:20:36 +00:00
commit 48eb28f7ee
2 changed files with 20 additions and 6 deletions

View file

@ -53,5 +53,8 @@ android_test {
"TetheringApiCurrentLib",
],
compile_multilib: "both",
min_sdk_version: "30",
min_sdk_version: select(release_flag("RELEASE_DEPRECATE_MAINLINE_R_SUPPORT"), {
true: "31",
default: "30",
}),
}

View file

@ -45,7 +45,10 @@ java_library {
java_defaults {
name: "TetheringTestsDefaults",
min_sdk_version: "30",
min_sdk_version: select(release_flag("RELEASE_DEPRECATE_MAINLINE_R_SUPPORT"), {
true: "31",
default: "30",
}),
srcs: [
"src/**/*.java",
"src/**/*.kt",