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

Commit 754b5669 authored by Stuart Scott's avatar Stuart Scott
Browse files

Add null pointer check

Change-Id: I5f364e8010d61162ed57148658965b9730491050
parent 71791ad2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ public class ResetNetwork extends Fragment {

    private void showFinalConfirmation() {
        Bundle args = new Bundle();
        if (mSubscriptions.size() > 0) {
        if (mSubscriptions != null && mSubscriptions.size() > 0) {
            int selectedIndex = mSubscriptionSpinner.getSelectedItemPosition();
            SubscriptionInfo subscription = mSubscriptions.get(selectedIndex);
            args.putInt(PhoneConstants.SUBSCRIPTION_KEY, subscription.getSubscriptionId());