Fix NO_CONNECTIVITY flag in some cases.
Airplane mode seemed to hit this bug. bug:2498268 Change-Id: I5af9266fbbad3e2323d30d7471058f0f4ec3f544
This commit is contained in:
parent
4283ded6b4
commit
129843273d
1 changed files with 2 additions and 0 deletions
|
|
@ -995,6 +995,8 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
|||
}
|
||||
} else {
|
||||
newNet.reconnect();
|
||||
newNet = null; // not officially avail.. try anyway, but
|
||||
// report no failover
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue