Merge "Fix bug 2972138 Lost cell data connection and didn't get it back, DO NOT MERGE." into gingerbread
This commit is contained in:
@@ -1157,10 +1157,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)) {
|
phone.notifyDataConnection(Phone.REASON_APN_FAILED);
|
||||||
phone.notifyDataConnection(Phone.REASON_APN_FAILED);
|
onEnableApn(apnTypeToId(mRequestedApnType), DISABLED);
|
||||||
onEnableApn(apnTypeToId(mRequestedApnType), DISABLED);
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user