commit | 934a45dd19811f628dbd387c7e9d6c8cc7ccee2b | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Tue Jun 12 16:42:31 2018 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Tue Jun 12 16:42:31 2018 -0700 |
tree | b038c61370c1b16e0c8abb6585a230b3c2226008 | |
parent | b2b54f973f32643a5020aa47d67e0aaca7290704 [diff] | |
parent | 2f66efef69ebd73191016bce1bacbd996b3693d8 [diff] |
Merge "Don't set RTT property if original connection null" am: 2f66efef69 Change-Id: Ia340e1e547a8d0d3fa6c5633caead22ed8e5cd3d
diff --git a/src/com/android/services/telephony/TelephonyConnection.java b/src/com/android/services/telephony/TelephonyConnection.java index d6fb3ad..c06fd27 100644 --- a/src/com/android/services/telephony/TelephonyConnection.java +++ b/src/com/android/services/telephony/TelephonyConnection.java
@@ -554,7 +554,11 @@ @Override public void onRttInitiated() { - updateConnectionProperties(); + if (mOriginalConnection != null) { + // if mOriginalConnection is null, the properties will get set when + // mOriginalConnection gets set. + updateConnectionProperties(); + } sendRttInitiationSuccess(); }