Merge "Add required permission to Tethering" into sc-dev am: 985e1e337d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/14351735
Change-Id: Icbf298f39939d13cbf17578a9c65d08b5790c1fd
diff --git a/Tethering/Android.bp b/Tethering/Android.bp
index c551f7a..f469d89 100644
--- a/Tethering/Android.bp
+++ b/Tethering/Android.bp
@@ -148,7 +148,10 @@
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",
}