am 9a3ce10c: Merge "Fix bug 2972138 Lost cell data connection and didn\'t get it back, DO NOT MERGE." into gingerbread
Merge commit '9a3ce10c6cafa4a2528ce9f3fdb6163acf5eb7b2' into gingerbread-plus-aosp * commit '9a3ce10c6cafa4a2528ce9f3fdb6163acf5eb7b2': Fix bug 2972138 Lost cell data connection and didn't get it back, DO NOT MERGE.
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