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

Commit 5e51c219 authored by xinhe's avatar xinhe Committed by Android Git Automerger
Browse files

am 93487e28: Merge "Sprint: MMS cannot be sent in the UK" into lmp-mr1-dev automerge: fc921d19

* commit '93487e28':
  Sprint: MMS cannot be sent in the UK
parents 485f6a60 93487e28
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) {