summaryrefslogtreecommitdiff
path: root/InCallUI
diff options
context:
space:
mode:
Diffstat (limited to 'InCallUI')
-rw-r--r--InCallUI/src/com/android/incallui/InCallService.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallService.java b/InCallUI/src/com/android/incallui/InCallService.java
index 113072d61..2be1736de 100644
--- a/InCallUI/src/com/android/incallui/InCallService.java
+++ b/InCallUI/src/com/android/incallui/InCallService.java
@@ -70,6 +70,9 @@ public class InCallService extends Service {
Call call = CallInfoTranslator.getCall(callId);
if (null != call) {
call.setState(Call.State.ACTIVE);
+ if (call.getConnectTime() == 0) {
+ call.setConnectTime(System.currentTimeMillis());
+ }
CallList.getInstance().onUpdate(call);
}
}