summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Yu <jackyu@google.com>2020-02-22 23:05:08 -0800
committerJack Yu <jackyu@google.com>2020-02-24 05:39:35 +0000
commita495776feec32727b3db24c8b48eddcb4810bba4 (patch)
tree55e30f154263c548d765814a6735fe35a76db5c4
parent7c124b1917ee54e07ed6545164f7c881b775b242 (diff)
Added bands from HAL 1.5
Test: Manual + NetworkStackTests Change-Id: I77071b2edad98c632563d28827085cfcdcbed2f3 Fix: 149475773
-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(