Merge "Fix arg order to set-package-network-enabled in the CTS preparer" into main
This commit is contained in:
@@ -128,7 +128,7 @@ open class ConnectivityTestTargetPreparer : BaseTargetPreparer() {
|
|||||||
if (testInfo.device.getApiLevel() < 31) return
|
if (testInfo.device.getApiLevel() < 31) return
|
||||||
testInfo.exec("cmd connectivity set-chain3-enabled $enableChain")
|
testInfo.exec("cmd connectivity set-chain3-enabled $enableChain")
|
||||||
enablePkgs.forEach { (pkg, allow) ->
|
enablePkgs.forEach { (pkg, allow) ->
|
||||||
testInfo.exec("cmd connectivity set-package-networking-enabled $pkg $allow")
|
testInfo.exec("cmd connectivity set-package-networking-enabled $allow $pkg")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user