summaryrefslogtreecommitdiff
path: root/src/com/android/services/telephony/TelephonyConnectionService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/services/telephony/TelephonyConnectionService.java')
-rw-r--r--src/com/android/services/telephony/TelephonyConnectionService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/services/telephony/TelephonyConnectionService.java b/src/com/android/services/telephony/TelephonyConnectionService.java
index 6feb706ab3..116e13b9c0 100644
--- a/src/com/android/services/telephony/TelephonyConnectionService.java
+++ b/src/com/android/services/telephony/TelephonyConnectionService.java
@@ -1415,7 +1415,7 @@ public class TelephonyConnectionService extends ConnectionService {
Phone phone;
if (isEmergency) {
- phone = PhoneGlobals.getInstance().getPhoneInEcm();
+ phone = PhoneGlobals.getInstance().getPhoneInEmergencyMode();
} else {
phone = getPhoneForAccount(accountHandle, isEmergency,
/* Note: when not an emergency, handle can be null for unknown callers */