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

Skip to content
Commit f45e22b4 authored by Hakjun Choi's avatar Hakjun Choi
Browse files

Fix wrong time logging for satellite connection time

1. Introduce a data class to match start time log and end time log, if on
connectionEnd() is not invoked, session start time info will be dropped
2. use SystemClock.elapsedRealtime() instead of System.currentTimeMillis() as this is used for logging difference between start and end
3. in case connection is less than 2, return empty session gap list

Bug: 403572038
Bug: 404344425
Flag: EXEMPT Bug fix
Test: atest ControllerMetricsStatsTest CarrierRoamingSatelliteControllerStatsTest SatelliteControllerTest
Test: manually run E2E Starlink and VZW P2P test then verify DB is logged as inteded
Change-Id: I5239e5f61babe69f3a4a9edb5ddb53be33eb3d46
parent b17e9b53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment