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

Commit 1751f6f3 authored by Danny Baumann's avatar Danny Baumann
Browse files

Fix possible NPE on SIM settings shutdown.

Change-Id: Ibf6b54fc2b97a780cfd7ace17c54855ef7e70c57
parent f982e03c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -164,8 +164,10 @@ public class SimSettings extends RestrictedSettingsFragment implements Indexable
        @Override
        public void onSubscriptionsChanged() {
            if (DBG) log("onSubscriptionsChanged:");
            if (isAdded()) {
                updateSubscriptions();
            }
        }
    };

    private void updateSubscriptions() {