Loading tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java +3 −2 Original line number Diff line number Diff line Loading @@ -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( Loading Loading
tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java +3 −2 Original line number Diff line number Diff line Loading @@ -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( Loading