diff options
author | Nathan Harold <nharold@google.com> | 2020-03-03 14:40:26 -0800 |
---|---|---|
committer | Nathan Harold <nharold@google.com> | 2020-03-03 14:40:26 -0800 |
commit | f87c9e1f80b1595d1b85e78bf59ca84bd27dd85a (patch) | |
tree | 164deb70c421c59f9ea4eabca92e56ba6b4a8552 | |
parent | a495776feec32727b3db24c8b48eddcb4810bba4 (diff) |
Update Constructor of CellIdentityLte
As part of updating the constructor for CellIdentityLte
to make an API guideline compliance change, the constructor
needs to be updated to take an int[] instead of Collection<>.
Need to make this change to fix a unit test breakage.
Bug: 150399894
Test: atest NetworkMonitorTest
Change-Id: Ib985daa4374a92e973948056727a42c993ca8eab
-rw-r--r-- | tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java b/tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java index 98fa147..4fdecf4 100644 --- a/tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java +++ b/tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java @@ -642,7 +642,7 @@ 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, Collections.emptyList() /* bands */, + return new CellIdentityLte(ci, pci, tac, earfcn, new int[] {} /* bands */, bandwidth, mccStr, mncStr, alphal, alphas, Collections.emptyList() /* additionalPlmns */, null /* csgInfo */); } else { |