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

Commit d4fb4d07 authored by Willy Hu's avatar Willy Hu Committed by Android (Google) Code Review
Browse files

Merge "[DSRM] Improve the current action duration" into udc-dev

parents 051dd681 0ea76dcd
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -639,7 +639,10 @@ public class DataStallRecoveryManager extends Handler {

        if (isLogNeeded) {
            timeDurationOfCurrentAction =
                (isFirstDataStall == true ? 0 : (int) getDurationOfCurrentRecoveryMs());
                ((getRecoveryAction() > RECOVERY_ACTION_GET_DATA_CALL_LIST
                   && !mIsAttemptedAllSteps)
                 || mLastAction == RECOVERY_ACTION_RESET_MODEM)
                 ? (int) getDurationOfCurrentRecoveryMs() : 0;
            DataStallRecoveryStats.onDataStallEvent(
                    mLastAction, mPhone, isValid, timeDuration, reason,
                    isFirstValidationAfterDoRecovery, timeDurationOfCurrentAction);