aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRavi Paluri <rpaluri@codeaurora.org>2015-11-17 18:59:24 +0530
committerSteve Kondik <steve@cyngn.com>2016-05-19 18:05:20 -0700
commit65d14617dfd4238b6f5b2e3728f1c78c83735d11 (patch)
tree55922c312ed0232020481a6e7f86290e0b21b3a4 /src
parent3e691ae6c26485c49c41777e1986046c7b80c78f (diff)
downloadandroid_frameworks_opt_net_ims-65d14617dfd4238b6f5b2e3728f1c78c83735d11.tar.gz
android_frameworks_opt_net_ims-65d14617dfd4238b6f5b2e3728f1c78c83735d11.tar.bz2
android_frameworks_opt_net_ims-65d14617dfd4238b6f5b2e3728f1c78c83735d11.zip
IMS-VT: Update host call callProfile on conference success
Update host call callProfile on conference success Change-Id: I0c7e07215d809a9eb0281e961fb6d7fd1024ef79 CRs-Fixed: 940142
Diffstat (limited to 'src')
-rw-r--r--src/java/com/android/ims/ImsCall.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/java/com/android/ims/ImsCall.java b/src/java/com/android/ims/ImsCall.java
index d0b5640..4e468fb 100644
--- a/src/java/com/android/ims/ImsCall.java
+++ b/src/java/com/android/ims/ImsCall.java
@@ -1904,6 +1904,9 @@ public class ImsCall implements ICall {
listener = finalHostCall.mListener;
+ updateCallProfile(finalPeerCall);
+ updateCallProfile(finalHostCall);
+
// Clear all the merge related flags.
clearMergeInfo();
@@ -1941,6 +1944,20 @@ public class ImsCall implements ICall {
return;
}
+ private static void updateCallProfile(ImsCall call) {
+ if (call != null) {
+ call.updateCallProfile();
+ }
+ }
+
+ private void updateCallProfile() {
+ synchronized (mLockObj) {
+ if (mSession != null) {
+ mCallProfile = mSession.getCallProfile();
+ }
+ }
+ }
+
/**
* Handles the case where the session has ended during a merge by reporting the termination
* reason to listeners.