Skip to content
Snippets Groups Projects
Commit 1fe1e539 authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

com.android.tethering: set min_sdk_version 30

Tethering is updatable apex module that was launched in R, hence it and
all it dependencies should specify min_sdk_version <= 30.

Test: m
Bug: 171668006
Bug: 171330443
Change-Id: Ic91cf96dda6419d1038b0329b920f9cd24482aef
Merged-In: Ic91cf96dda6419d1038b0329b920f9cd24482aef
(cherry picked from commit bee20e84)
parent 18914732
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@
java_defaults {
name: "TetheringAndroidLibraryDefaults",
sdk_version: "module_current",
min_sdk_version: "30",
srcs: [
"src/**/*.java",
":framework-tethering-shared-srcs",
......@@ -57,7 +58,7 @@ cc_library {
"//apex_available:platform", // Used by InProcessTethering
"com.android.tethering",
],
min_sdk_version: "current",
min_sdk_version: "30",
srcs: [
"jni/android_net_util_TetheringUtils.cpp",
],
......@@ -118,7 +119,7 @@ android_app {
// InProcessTethering is a replacement for Tethering
overrides: ["Tethering"],
apex_available: ["com.android.tethering"],
min_sdk_version: "current",
min_sdk_version: "30",
}
// Updatable tethering packaged as an application
......@@ -132,5 +133,5 @@ android_app {
// The permission configuration *must* be included to ensure security of the device
required: ["NetworkPermissionConfig"],
apex_available: ["com.android.tethering"],
min_sdk_version: "current",
min_sdk_version: "30",
}
......@@ -17,7 +17,7 @@
apex {
name: "com.android.tethering",
updatable: true,
min_sdk_version: "current",
min_sdk_version: "30",
java_libs: ["framework-tethering"],
apps: ["Tethering"],
manifest: "manifest.json",
......
......@@ -28,6 +28,7 @@ java_sdk_library {
hostdex: true, // for hiddenapi check
apex_available: ["com.android.tethering"],
permitted_packages: ["android.net"],
min_sdk_version: "30",
}
filegroup {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment