Merge "com.android.tethering: set min_sdk_version 30" am: 06bf173b20
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1489717 Change-Id: I652a8be5f230b1e88474e6944dc4a3306db896e9
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
java_defaults {
|
java_defaults {
|
||||||
name: "TetheringAndroidLibraryDefaults",
|
name: "TetheringAndroidLibraryDefaults",
|
||||||
sdk_version: "module_current",
|
sdk_version: "module_current",
|
||||||
|
min_sdk_version: "30",
|
||||||
srcs: [
|
srcs: [
|
||||||
"src/**/*.java",
|
"src/**/*.java",
|
||||||
":framework-tethering-shared-srcs",
|
":framework-tethering-shared-srcs",
|
||||||
@@ -58,7 +59,7 @@ cc_library {
|
|||||||
"//apex_available:platform", // Used by InProcessTethering
|
"//apex_available:platform", // Used by InProcessTethering
|
||||||
"com.android.tethering",
|
"com.android.tethering",
|
||||||
],
|
],
|
||||||
min_sdk_version: "current",
|
min_sdk_version: "30",
|
||||||
srcs: [
|
srcs: [
|
||||||
"jni/android_net_util_TetheringUtils.cpp",
|
"jni/android_net_util_TetheringUtils.cpp",
|
||||||
],
|
],
|
||||||
@@ -119,7 +120,7 @@ android_app {
|
|||||||
// InProcessTethering is a replacement for Tethering
|
// InProcessTethering is a replacement for Tethering
|
||||||
overrides: ["Tethering"],
|
overrides: ["Tethering"],
|
||||||
apex_available: ["com.android.tethering"],
|
apex_available: ["com.android.tethering"],
|
||||||
min_sdk_version: "current",
|
min_sdk_version: "30",
|
||||||
}
|
}
|
||||||
|
|
||||||
// Updatable tethering packaged as an application
|
// Updatable tethering packaged as an application
|
||||||
@@ -133,5 +134,5 @@ android_app {
|
|||||||
// The permission configuration *must* be included to ensure security of the device
|
// The permission configuration *must* be included to ensure security of the device
|
||||||
required: ["NetworkPermissionConfig"],
|
required: ["NetworkPermissionConfig"],
|
||||||
apex_available: ["com.android.tethering"],
|
apex_available: ["com.android.tethering"],
|
||||||
min_sdk_version: "current",
|
min_sdk_version: "30",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
apex {
|
apex {
|
||||||
name: "com.android.tethering",
|
name: "com.android.tethering",
|
||||||
updatable: true,
|
updatable: true,
|
||||||
min_sdk_version: "current",
|
min_sdk_version: "30",
|
||||||
java_libs: ["framework-tethering"],
|
java_libs: ["framework-tethering"],
|
||||||
bpfs: ["offload.o"],
|
bpfs: ["offload.o"],
|
||||||
apps: ["Tethering"],
|
apps: ["Tethering"],
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ java_sdk_library {
|
|||||||
hostdex: true, // for hiddenapi check
|
hostdex: true, // for hiddenapi check
|
||||||
apex_available: ["com.android.tethering"],
|
apex_available: ["com.android.tethering"],
|
||||||
permitted_packages: ["android.net"],
|
permitted_packages: ["android.net"],
|
||||||
|
min_sdk_version: "30",
|
||||||
}
|
}
|
||||||
|
|
||||||
filegroup {
|
filegroup {
|
||||||
|
|||||||
Reference in New Issue
Block a user