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

Commit 87112afa authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Ricardo Cerqueira
Browse files

MSIM: Fix erroneous defaults display in slot selection dialog

Initializing the index at zero was showing the first slot as the default
when none was chosen. Since that's not actually true, leave it outside
the possible range so that the radio selectors stay empty if that's the
case.

Addresses CYNGNOS-2212

Change-Id: I4a74f9c89bbf14bbe39e0d51733a1d5f92c5a1df
(cherry picked from commit 88b02f8a)
parent 8ba500da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -238,7 +238,7 @@ public class SimDialogActivity extends Activity {
                }
            };

        int currentIndex = 0;
        int currentIndex = -1;
        ArrayList<SubscriptionInfo> callsSubInfoList = new ArrayList<SubscriptionInfo>();
        if (id == CALLS_PICK) {
            final TelecomManager telecomManager = TelecomManager.from(context);