commit | 760af407139bb60033ac5bc8d102b9f153e60ccc | [log] [tgz] |
---|---|---|
author | Dong Zhou <a22255@motorola.com> | Sun Mar 15 11:58:27 2015 -0500 |
committer | Etan Cohen <etancohen@google.com> | Mon Mar 16 14:30:49 2015 -0700 |
tree | 0008e7a7eeab7e457a5a2f941da16736b16958c4 | |
parent | e1ae38f714c57aa4dd35184e7cd9017d47c1515b [diff] |
Set the capability to speed up audio setup for IMS MT call Bug: 19656525 Change-Id: Id7d0f46ed11efe5c6ab950a0ff6128fd2c5f5344
diff --git a/src/com/android/services/telephony/TelephonyConnection.java b/src/com/android/services/telephony/TelephonyConnection.java index 71e4cae..73bfe8c 100644 --- a/src/com/android/services/telephony/TelephonyConnection.java +++ b/src/com/android/services/telephony/TelephonyConnection.java
@@ -420,6 +420,9 @@ protected int buildConnectionCapabilities() { int callCapabilities = 0; if (isImsConnection()) { + if (mOriginalConnection.isIncoming()) { + callCapabilities |= CAPABILITY_SPEED_UP_MT_AUDIO; + } callCapabilities |= CAPABILITY_SUPPORT_HOLD; if (getState() == STATE_ACTIVE || getState() == STATE_HOLDING) { callCapabilities |= CAPABILITY_HOLD;