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

Commit 6620b427 authored by xinhe's avatar xinhe
Browse files

Sprint: MMS cannot be sent in the UK

     This is due to Sprint network at UK is actually GSM/UMTS. Thus we need GSM phone with CSIM to provide Nai too.

Bug:18241756
Change-Id: Icec10c88834151f5e35e38db93af36d7f40890fd
parent af8c621d
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -703,7 +703,11 @@ public class TelephonyManager {
    public String getNai(int slotId) {
        int[] subId = SubscriptionManager.getSubId(slotId);
        try {
            return getSubscriberInfo().getNaiForSubscriber(subId[0]);
            String nai = getSubscriberInfo().getNaiForSubscriber(subId[0]);
            if (Log.isLoggable(TAG, Log.VERBOSE)) {
                Rlog.v(TAG, "Nai = " + nai);
            }
            return nai;
        } catch (RemoteException ex) {
            return null;
        } catch (NullPointerException ex) {