summaryrefslogtreecommitdiffstats
path: root/telecomm/java/android/telecom/ConnectionService.java
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2015-07-15 15:47:21 -0700
committerRoshan Pius <rpius@google.com>2015-07-15 15:47:21 -0700
commite927ec02f5bbad925d5f28cbe370a04aa118f370 (patch)
tree3ac494a376ebe08309e217d5fffd3b8804b62e87 /telecomm/java/android/telecom/ConnectionService.java
parent4155d9f37762a6a91d47c383f9c3a9fd3aa7f884 (diff)
downloadframeworks_base-e927ec02f5bbad925d5f28cbe370a04aa118f370.zip
frameworks_base-e927ec02f5bbad925d5f28cbe370a04aa118f370.tar.gz
frameworks_base-e927ec02f5bbad925d5f28cbe370a04aa118f370.tar.bz2
Maintain call time across SRVCC (2/3).
When an IMS conference call encounters an SRVCC event requiring a fallback to GSM/CDMA, we need to maintain the call time for the conference host across this fallback. So, adding a connectTime attribute in the underlying conference host's connection object which can be used to account for the call time from the now inactive conference call into the new call created. BUG: 21918593 Change-Id: I13e7ae6e31f004e798776c02ac7a6ac09a10f0bd
Diffstat (limited to 'telecomm/java/android/telecom/ConnectionService.java')
-rw-r--r--telecomm/java/android/telecom/ConnectionService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/ConnectionService.java b/telecomm/java/android/telecom/ConnectionService.java
index d2e7a74..96f44b9 100644
--- a/telecomm/java/android/telecom/ConnectionService.java
+++ b/telecomm/java/android/telecom/ConnectionService.java
@@ -651,6 +651,7 @@ public abstract class ConnectionService extends Service {
connection.getVideoState(),
connection.isRingbackRequested(),
connection.getAudioModeIsVoip(),
+ connection.getConnectTimeMillis(),
connection.getStatusHints(),
connection.getDisconnectCause(),
createIdList(connection.getConferenceables()),
@@ -979,6 +980,7 @@ public abstract class ConnectionService extends Service {
connection.getVideoState(),
connection.isRingbackRequested(),
connection.getAudioModeIsVoip(),
+ connection.getConnectTimeMillis(),
connection.getStatusHints(),
connection.getDisconnectCause(),
emptyList,