commit | a27dca2fdcbd88f67b3b8377a33ed572d770b0d1 | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Mon Oct 23 17:26:53 2023 +0900 |
committer | Chalard Jean <jchalard@google.com> | Mon Oct 23 17:26:53 2023 +0900 |
tree | f8a6bf22092d3c831f8ae45d528c0e71ff045822 | |
parent | 6c83f00b09d7499949813db55a235ae3d6f2022e [diff] |
Fix arg order to set-package-network-enabled in the CTS preparer Test: manual Change-Id: Ife55ed9dc152cd2c21e56b84201b9c34dbb04d46
diff --git a/staticlibs/testutils/host/com/android/testutils/ConnectivityTestTargetPreparer.kt b/staticlibs/testutils/host/com/android/testutils/ConnectivityTestTargetPreparer.kt index eb94781..600a623 100644 --- a/staticlibs/testutils/host/com/android/testutils/ConnectivityTestTargetPreparer.kt +++ b/staticlibs/testutils/host/com/android/testutils/ConnectivityTestTargetPreparer.kt
@@ -128,7 +128,7 @@ 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") } }