summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java b/tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java
index f61bb7e..98fa147 100644
--- a/tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java
+++ b/tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java
@@ -642,8 +642,9 @@ public class NetworkMonitorTest {
int bandwidth, String mccStr, String mncStr, String alphal, String alphas)
throws ReflectiveOperationException {
if (ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q)) {
- return new CellIdentityLte(ci, pci, tac, earfcn, bandwidth, mccStr, mncStr, alphal,
- alphas, Collections.emptyList() /* additionalPlmns */, null /* csgInfo */);
+ return new CellIdentityLte(ci, pci, tac, earfcn, Collections.emptyList() /* bands */,
+ bandwidth, mccStr, mncStr, alphal, alphas,
+ Collections.emptyList() /* additionalPlmns */, null /* csgInfo */);
} else {
// API <= Q does not have the additionalPlmns and csgInfo parameters
final Constructor<CellIdentityLte> constructor = CellIdentityLte.class.getConstructor(