Merge "Fix arg order to set-package-network-enabled in the CTS preparer" into main

This commit is contained in:
Jean Chalard
2023-10-24 05:39:55 +00:00
committed by Gerrit Code Review

View File

@@ -128,7 +128,7 @@ open class ConnectivityTestTargetPreparer : BaseTargetPreparer() {
if (testInfo.device.getApiLevel() < 31) return
testInfo.exec("cmd connectivity set-chain3-enabled $enableChain")
enablePkgs.forEach { (pkg, allow) ->
testInfo.exec("cmd connectivity set-package-networking-enabled $pkg $allow")
testInfo.exec("cmd connectivity set-package-networking-enabled $allow $pkg")
}
}