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

Commit e3e070ec authored by Wink Saville's avatar Wink Saville Committed by Android Git Automerger
Browse files

am 59986fee: Remap NONE to UNKNOWN on GENERIC_FAILURES for SETUP_DATA_CALL. DO NOT MERGE.

* commit '59986fee':
  Remap NONE to UNKNOWN on GENERIC_FAILURES for SETUP_DATA_CALL. DO NOT MERGE.
parents e065bce5 59986fee
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1329,6 +1329,13 @@ public final class DataConnection extends StateMachine {
                        if (ar.exception == null) {
                            int rilFailCause = ((int[]) (ar.result))[0];
                            cause = DcFailCause.fromInt(rilFailCause);
                            if (cause == DcFailCause.NONE) {
                                if (DBG) {
                                    log("DcActivatingState msg.what=EVENT_GET_LAST_FAIL_DONE"
                                            + " BAD: error was NONE, change to UNKNOWN");
                                }
                                cause = DcFailCause.UNKNOWN;
                            }
                        }
                        mDcFailCause = cause;