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

Commit a495776f authored by Jack Yu's avatar Jack Yu
Browse files

Added bands from HAL 1.5

Test: Manual + NetworkStackTests
Change-Id: I77071b2edad98c632563d28827085cfcdcbed2f3
Fix: 149475773
parent 7c124b19
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(