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

Commit 73a9e6b5 authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

Merge "Add null-check for country ISO." am: 1eb07a92 am: 3b666e0d am: 114db8a5

am: 38269852

Change-Id: Ie379462b8c9c1c8a0f70434b27bb99914f5c74d7
parents 1c7359d9 38269852
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3774,7 +3774,7 @@ public class GsmCdmaPhone extends Phone {
        int subId = getSubId();
        SubscriptionInfo subInfo = SubscriptionManager.from(getContext())
                .getActiveSubscriptionInfo(subId);
        if (subInfo == null) {
        if (subInfo == null || TextUtils.isEmpty(subInfo.getCountryIso())) {
            return null;
        }
        return subInfo.getCountryIso().toUpperCase();