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

Commit ad8f2191 authored by Wink Saville's avatar Wink Saville Committed by Android (Google) Code Review
Browse files

Merge "Fix bug 2972138 Lost cell data connection and didn't get it back."

parents c18c02d7 c13d4b68
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -1150,10 +1150,8 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
            // No try for permanent failure
            // No try for permanent failure
            if (cause.isPermanentFail()) {
            if (cause.isPermanentFail()) {
                notifyNoData(cause);
                notifyNoData(cause);
                if (!mRequestedApnType.equals(Phone.APN_TYPE_DEFAULT)) {
                notifyDataConnection(Phone.REASON_APN_FAILED);
                notifyDataConnection(Phone.REASON_APN_FAILED);
                onEnableApn(apnTypeToId(mRequestedApnType), DISABLED);
                onEnableApn(apnTypeToId(mRequestedApnType), DISABLED);
                }
                return;
                return;
            }
            }