From 3dc1850640a2af2fb342740853be1f84e76672c7 Mon Sep 17 00:00:00 2001 From: Qiang Chen Date: Wed, 3 Dec 2014 10:38:47 +0800 Subject: 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 CRs-Fixed: 754497 --- .../java/com/android/internal/telecom/IConnectionServiceAdapter.aidl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'telecomm/java/com') diff --git a/telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl b/telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl index 32c48b1..aaefbaf 100644 --- a/telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl +++ b/telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl @@ -89,4 +89,6 @@ oneway interface IConnectionServiceAdapter { void setExtras(String callId, in Bundle extras); void setPhoneAccountHandle(String callId, in PhoneAccountHandle pHandle); + + void resetCdmaConnectionTime(String callId); } -- cgit v1.1