Report NO_CONNECTIVITY when failover net unavail
Fix ConnectivityService so that it reports connection status correctly. bug: 2128595
This commit is contained in:
parent
4666ed0e7e
commit
149d5ac149
1 changed files with 2 additions and 0 deletions
|
|
@ -809,6 +809,8 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
|||
intent.putExtra(ConnectivityManager.
|
||||
EXTRA_OTHER_NETWORK_INFO, switchTo);
|
||||
} else {
|
||||
intent.putExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY,
|
||||
true);
|
||||
newNet.reconnect();
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue