Make activation rejection a non-permanent error.

Removed ACTIVATION_REJECT_GGSN and ACTIVATION_REJECT_UNSPECIFIED from
DataConnection#isPermanentFail() so they won't be detected as permanent.


bug: 3070773
Change-Id: I18d10bc44609e550d7932cd9600116f074bcb8dd
This commit is contained in:
Wink Saville
2010-12-10 11:09:47 -08:00
parent dfcaeb1677
commit ffbce12056

View File

@@ -192,7 +192,6 @@ public abstract class DataConnection extends HierarchicalStateMachine {
public boolean isPermanentFail() {
return (this == OPERATOR_BARRED) || (this == MISSING_UNKNOWN_APN) ||
(this == UNKNOWN_PDP_ADDRESS) || (this == USER_AUTHENTICATION) ||
(this == ACTIVATION_REJECT_GGSN) || (this == ACTIVATION_REJECT_UNSPECIFIED) ||
(this == SERVICE_OPTION_NOT_SUPPORTED) ||
(this == SERVICE_OPTION_NOT_SUBSCRIBED) || (this == NSAPI_IN_USE) ||
(this == PROTOCOL_ERRORS);