Allow com.android.networkstack.tethering to be installed as SYSTEM
Enables the tethering UI on cuttlefish so the test passes.
Bug: 163536846
Test: atest WifiSettingTest
(cherry picked from commit d768f38256f75293bb1bf9a497dd56dbef0fa760)
Change-Id: Ia6f257a9813231337c34767d67202f3caeb33c07
Merged-In: I4d9b7b4cd40995a229f001c0806b0a9aeebfcaaa
diff --git a/vsoc_x86/auto/preinstalled-packages-product-car-cuttlefish.xml b/vsoc_x86/auto/preinstalled-packages-product-car-cuttlefish.xml
index 1536291..94595d4 100644
--- a/vsoc_x86/auto/preinstalled-packages-product-car-cuttlefish.xml
+++ b/vsoc_x86/auto/preinstalled-packages-product-car-cuttlefish.xml
@@ -71,6 +71,11 @@
<install-in user-type="FULL" />
<install-in user-type="SYSTEM" />
</install-in-user-type>
+ <!-- Required for Tethering -->
+ <install-in-user-type package="com.android.networkstack.tethering">
+ <install-in user-type="FULL" />
+ <install-in user-type="SYSTEM" />
+ </install-in-user-type>
<!-- Required when sysui queries for system user apps to handle the home intent -->
<install-in-user-type package="com.android.car.carlauncher">
<install-in user-type="FULL" />
@@ -249,9 +254,6 @@
<install-in-user-type package="com.android.theme.icon_pack.rounded.themepicker">
<install-in user-type="FULL" />
</install-in-user-type>
- <install-in-user-type package="com.android.networkstack.tethering">
- <install-in user-type="FULL" />
- </install-in-user-type>
<install-in-user-type package="com.android.smspush">
<install-in user-type="FULL" />
</install-in-user-type>