Skip to content
Snippets Groups Projects
Commit a27dca2f authored by Chalard Jean's avatar Chalard Jean
Browse files

Fix arg order to set-package-network-enabled in the CTS preparer

Test: manual
Change-Id: Ife55ed9dc152cd2c21e56b84201b9c34dbb04d46
parent 6c83f00b
No related branches found
No related tags found
No related merge requests found
......@@ -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")
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment