Merge "DataConnection FailCause should use errorCode rather than ordinal." into honeycomb-LTE

This commit is contained in:
Wink Saville
2011-05-27 09:03:48 -07:00
committed by Android (Google) Code Review

View File

@@ -142,7 +142,7 @@ public abstract class DataConnection extends StateMachine {
static {
sErrorCodeToFailCauseMap = new HashMap<Integer, FailCause>();
for (FailCause fc : values()) {
sErrorCodeToFailCauseMap.put(fc.ordinal(), fc);
sErrorCodeToFailCauseMap.put(fc.getErrorCode(), fc);
}
}