Merge "Import translations. DO NOT MERGE"
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index 722a32b..1e689e6 100755
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -4470,14 +4470,15 @@
}
}
- List<String> allowedMccMncs =
- NetworkScanRequestTracker.getAllowedMccMncsForLocationRestrictedScan(mApp);
- for (String mccmnc : request.getPlmns()) {
- if (!allowedMccMncs.contains(mccmnc)) {
- return new SecurityException("Requested mccmnc " + mccmnc + " is not known to the"
- + " device and cannot be scanned for without location access.");
- }
- }
+ // STOPSHIP Revisit PLMN check (b/130253962).
+ //List<String> allowedMccMncs =
+ // NetworkScanRequestTracker.getAllowedMccMncsForLocationRestrictedScan(mApp);
+ //for (String mccmnc : request.getPlmns()) {
+ // if (!allowedMccMncs.contains(mccmnc)) {
+ // return new SecurityException("Requested mccmnc " + mccmnc + " is not known to the"
+ // + " device and cannot be scanned for without location access.");
+ // }
+ //}
return null;
}
diff --git a/src/com/android/services/telephony/DisconnectCauseUtil.java b/src/com/android/services/telephony/DisconnectCauseUtil.java
index e3155f3..cf3f913 100644
--- a/src/com/android/services/telephony/DisconnectCauseUtil.java
+++ b/src/com/android/services/telephony/DisconnectCauseUtil.java
@@ -193,6 +193,7 @@
case android.telephony.DisconnectCause.WIFI_LOST:
case android.telephony.DisconnectCause.IMS_ACCESS_BLOCKED:
case android.telephony.DisconnectCause.IMS_SIP_ALTERNATE_EMERGENCY_CALL:
+ case android.telephony.DisconnectCause.MEDIA_TIMEOUT:
return DisconnectCause.ERROR;
case android.telephony.DisconnectCause.DIALED_MMI: