Merge "Sprint: MMS cannot be sent in the UK" into lmp-mr1-dev

This commit is contained in:
xinhe
2015-01-28 21:42:14 +00:00
committed by Android (Google) Code Review

View File

@@ -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) {