summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/RemoteConnectionService.java
diff options
context:
space:
mode:
authorMengjun Leng <mengju@codeaurora.org>2017-07-04 11:10:37 +0800
committerMengjun Leng <mengju@codeaurora.org>2018-07-31 14:14:22 +0800
commit2570774338947d19eb8962ee37f669fa5ac240c2 (patch)
treee5a00311a065223b4403ca34a8b5b77a4516f7bf /telecomm/java/android/telecom/RemoteConnectionService.java
parentc14a4be7998b18ce7caea2b63ef30ca09868d1f7 (diff)
Telecom: Reset the duration after the CDMA call is accepted
In android original design, the duration of CDMA MO call is started from the dial command sent, so it is not the real duration of the active time. In this patch, a new message is registered to listen the event of the call accepted, and then reset the duration when the event happens. Change-Id: Icc447012030ae243f200ec2c83b7d5210af9b31c
Diffstat (limited to 'telecomm/java/android/telecom/RemoteConnectionService.java')
-rw-r--r--telecomm/java/android/telecom/RemoteConnectionService.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/RemoteConnectionService.java b/telecomm/java/android/telecom/RemoteConnectionService.java
index bb4b483de326..9821dcbce85e 100644
--- a/telecomm/java/android/telecom/RemoteConnectionService.java
+++ b/telecomm/java/android/telecom/RemoteConnectionService.java
@@ -466,6 +466,11 @@ final class RemoteConnectionService {
Log.w(this, "onRemoteRttRequest called on a remote conference");
}
}
+
+ @Override
+ public void resetConnectionTime(String callId, Session.Info sessionInfo) {
+ // Do nothing
+ }
};
private final ConnectionServiceAdapterServant mServant =