Add required permission to Tethering

The permission of Tethering is moved to a separate xml file,
add the xml module to the required field of tethering app.

Bug: 151213404
Test: TetheringTests
Ignore-AOSP-First: merge conflict resolutions
Change-Id: I40b45a0f1b44fba0b68e94811d14725a59ed4e59
This commit is contained in:
Aaron Huang
2021-04-27 20:24:24 +08:00
parent 3040e81c8f
commit a546d85a03

View File

@@ -146,7 +146,10 @@ android_app {
manifest: "AndroidManifest.xml", manifest: "AndroidManifest.xml",
use_embedded_native_libs: true, use_embedded_native_libs: true,
// 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",
"privapp_whitelist_com.android.networkstack.tethering",
],
apex_available: ["com.android.tethering"], apex_available: ["com.android.tethering"],
min_sdk_version: "30", min_sdk_version: "30",
} }