commit | 23df213b12f65ee9909d18573cfa59cb6bd4d1d9 | [log] [tgz] |
---|---|---|
author | Shuo Qian <shuoq@google.com> | Fri Sep 27 13:54:30 2019 -0700 |
committer | Brad Ebinger <breadley@google.com> | Mon Sep 30 20:42:46 2019 +0000 |
tree | 183429dd9607ea5a9e7cfebf71f3ba32654e8f05 | |
parent | 03b0291d1e03c59bdd0f27943b549d6a2dc77018 [diff] |
Notify the dialed Emergency Number Test: cts Bug: 135204580 Merged-In: I94d7f0993f1108b6816560357b50838f68d52c65 Change-Id: I94d7f0993f1108b6816560357b50838f68d52c65
diff --git a/src/com/android/services/telephony/TelephonyConnectionService.java b/src/com/android/services/telephony/TelephonyConnectionService.java index 927b2c9..c8562c7 100644 --- a/src/com/android/services/telephony/TelephonyConnectionService.java +++ b/src/com/android/services/telephony/TelephonyConnectionService.java
@@ -1234,6 +1234,11 @@ com.android.internal.telephony.Connection originalConnection = null; try { if (phone != null) { + EmergencyNumber emergencyNumber = + phone.getEmergencyNumberTracker().getEmergencyNumber(number); + if (emergencyNumber != null) { + phone.notifyOutgoingEmergencyCall(emergencyNumber); + } originalConnection = phone.dial(number, new ImsPhone.ImsDialArgs.Builder() .setVideoState(videoState) .setIntentExtras(extras)