automerge: 5e51c21
* commit '5e51c21943a4e9c0096acbaee5f923e9e0297f25':
Sprint: MMS cannot be sent in the UK
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user