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

Commit 872f1079 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Reset data reject count, reject cause on a new data reject cause"

parents ca8ada33 da7edb07
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1836,6 +1836,14 @@ public final class DataConnection extends StateMachine {
                    .getResources()
                    .getInteger(com.android.internal.R.integer.data_retry_delay);

            /* If previously rejected code is not same as current data reject cause,
             * then reset the count and reset the reject cause.
             */
            if (mPdpRejectCause != result.mFailCause) {
                if (DBG) log("reset data reject count and data reject cause");
                mPdpRejectCount = 0;
                mPdpRejectCause = DcFailCause.UNKNOWN;
            }
            /* If failure reason is USER_AUTHENTICATION or
             * SERVICE_OPTION_NOT_SUBSCRIBED, increment counter and store cause
             */