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

Commit 1e3505c6 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 22001 into eclair

* changes:
  Fix Wifi+Cell on boot after wifi in use.
parents f768d24f 60a45aff
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -316,6 +316,12 @@ public class MobileDataStateTracker extends NetworkStateTracker {
                // no need to do anything - we're already due some status update intents
                break;
            case Phone.APN_REQUEST_FAILED:
                if (mPhoneService == null && mApnType == Phone.APN_TYPE_DEFAULT) {
                    // on startup we may try to talk to the phone before it's ready
                    // just leave mEnabled as it is for the default apn.
                    return false;
                }
                // else fall through
            case Phone.APN_TYPE_NOT_AVAILABLE:
                mEnabled = false;
                break;