From a546d85a039cbc35656ff1cf6c950767900a94fc Mon Sep 17 00:00:00 2001 From: Aaron Huang Date: Tue, 27 Apr 2021 20:24:24 +0800 Subject: [PATCH] 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 --- Tethering/Android.bp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tethering/Android.bp b/Tethering/Android.bp index 89f1505b0c..a9a9a57703 100644 --- a/Tethering/Android.bp +++ b/Tethering/Android.bp @@ -146,7 +146,10 @@ android_app { manifest: "AndroidManifest.xml", use_embedded_native_libs: true, // 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"], min_sdk_version: "30", }