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

Commit 1b398501 authored by Hall Liu's avatar Hall Liu
Browse files

Fix usage of SubscriptionInfo ctor

Use string arguments instead of ints for mcc/mnc

Bug: 35064313
Test: manual, unit
Change-Id: Ib460d6294d8fb86de7c2fee065defb0a890af15a
(cherry picked from commit 02c5f3c7)
parent 7ed29288
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -324,7 +324,7 @@ public class DataUsageSummaryPreferenceControllerTest {
                mActivity, null, null, null);

        final SubscriptionInfo subInfo = new SubscriptionInfo(0, "123456", 0, "name", "carrier",
                0, 0, "number", 0, null, 123, 456, "ZX");
                0, 0, "number", 0, null, "123", "456", "ZX");
        when(mSubscriptionManager.getDefaultDataSubscriptionInfo()).thenReturn(subInfo);
        assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE);
    }