diff options
Diffstat (limited to 'InCallUI/src/com/android/incallui')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardPresenter.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java index 3761c5a7f..1ad0c11f1 100644 --- a/InCallUI/src/com/android/incallui/CallCardPresenter.java +++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java @@ -545,8 +545,10 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi> mCallTimer.cancel(); } else { final long callStart = mPrimary.getConnectTimeMillis(); - final long duration = System.currentTimeMillis() - callStart; - ui.setPrimaryCallElapsedTime(true, duration); + if (callStart > 0) { + final long duration = System.currentTimeMillis() - callStart; + ui.setPrimaryCallElapsedTime(true, duration); + } } } |