diff options
author | Sailesh Nepal <sail@google.com> | 2014-05-14 18:40:13 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-05-14 18:40:13 +0000 |
commit | 9357f7ee785621b5ea79d269a7adc4fa75c80671 (patch) | |
tree | 776b58ba859fc1804e90dfad3cfd2c3c1576d1a6 | |
parent | 8f50ba6bc1506b79f80c4f0e32d7ebbef39ab44a (diff) | |
parent | 2fa9142e1181ba265b3e06adf01dd6ba1f311863 (diff) |
am e0cabfb9: Set initial connect time
* commit 'e0cabfb91cb95034d4f9ffe2354be3471ccd1673':
Set initial connect time
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallService.java | 3 |
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); } } |