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

Commit 114db8a5 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

Change-Id: I00fb569c7713083eb6c7e8374c12e6570f8293bc
parents 471dc121 3b666e0d
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();