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

Commit b81707e7 authored by Jordan Liu's avatar Jordan Liu
Browse files

Convert total call quality duration to seconds

This is currently done for good_quality_duration but not total quality
duration.

Bug: 132175304
Test: manual
Change-Id: I5257a4f4e9e6d7572ffe8a9e1116328179b7f864
Merged-In: I5257a4f4e9e6d7572ffe8a9e1116328179b7f864
parent d8394456
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -267,7 +267,8 @@ public class CallQualityMetrics {
        // handover from IMS->CS->IMS, but this is currently not possible
        // TODO(b/130302396) this also may be possible when we put a call on hold and continue with
        // another call
        summary.totalDurationWithQualityInformationInSeconds = mLastCallQuality.getCallDuration();
        summary.totalDurationWithQualityInformationInSeconds =
                mLastCallQuality.getCallDuration() / 1000;
        if (mWorstSsWithGoodDlQuality != null) {
            summary.snapshotOfWorstSsWithGoodQuality =
                    toCallQualityProto(mWorstSsWithGoodDlQuality.first);
@@ -304,7 +305,8 @@ public class CallQualityMetrics {
        // handover from IMS->CS->IMS, but this is currently not possible
        // TODO(b/130302396) this also may be possible when we put a call on hold and continue with
        // another call
        summary.totalDurationWithQualityInformationInSeconds = mLastCallQuality.getCallDuration();
        summary.totalDurationWithQualityInformationInSeconds =
                mLastCallQuality.getCallDuration() / 1000;
        if (mWorstSsWithGoodUlQuality != null) {
            summary.snapshotOfWorstSsWithGoodQuality =
                    toCallQualityProto(mWorstSsWithGoodUlQuality.first);