Merge "Sprint: MMS cannot be sent in the UK" into lmp-mr1-dev
This commit is contained in:
@@ -703,7 +703,11 @@ public class TelephonyManager {
|
|||||||
public String getNai(int slotId) {
|
public String getNai(int slotId) {
|
||||||
int[] subId = SubscriptionManager.getSubId(slotId);
|
int[] subId = SubscriptionManager.getSubId(slotId);
|
||||||
try {
|
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) {
|
} catch (RemoteException ex) {
|
||||||
return null;
|
return null;
|
||||||
} catch (NullPointerException ex) {
|
} catch (NullPointerException ex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user