Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91409817 authored by Jack Yu's avatar Jack Yu Committed by Gerrit Code Review
Browse files

Merge "Added bands from HAL 1.5"

parents bb54fa68 cfedb157
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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(