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

Commit 1c9c9bb3 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge changes from topic "CherryPickMainline" am: caf1d90a

Change-Id: I77196c30e5c32c99c839379f18343e862d17f3e3
parents 14867858 caf1d90a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -466,7 +466,7 @@ public class SubscriptionController extends ISub.Stub {
    private int getUnusedColor(String callingPackage, String callingFeatureId) {
        List<SubscriptionInfo> availableSubInfos = getActiveSubscriptionInfoList(callingPackage,
                callingFeatureId);
        colorArr = mContext.getResources().getIntArray(com.android.internal.R.array.sim_colors);
        colorArr = mContext.getResources().getIntArray(android.R.array.simColors);
        int colorIdx = 0;

        if (availableSubInfos != null) {
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ public class SubscriptionControllerTest extends TelephonyTest {
        mCallingFeature = null;

        doReturn(1).when(mProxyController).getMaxRafSupported();
        mContextFixture.putIntArrayResource(com.android.internal.R.array.sim_colors, new int[]{5});
        mContextFixture.putIntArrayResource(android.R.array.simColors, new int[]{5});
    }

    @After