Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9173085 authored by Yorke Lee's avatar Yorke Lee
Browse files

Fix for busted call duration in CDMA conference

A connect time of 0 is invalid and should not be used to determine
a parent's connect time.

Bug: 17508340
Change-Id: I21723100deee349b00a10f142b32a882f3bd925e
parent 97f8c770
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -454,7 +454,9 @@ public final class InCallController extends CallsManagerListenerBase {
        if (!childCalls.isEmpty()) {
            connectTimeMillis = Long.MAX_VALUE;
            for (Call child : childCalls) {
                if (child.getConnectTimeMillis() > 0) {
                    connectTimeMillis = Math.min(child.getConnectTimeMillis(), connectTimeMillis);
                }
                childCallIds.add(mCallIdMapper.getCallId(child));
            }
        }