Report NO_CONNECTIVITY when failover net unavail
Fix ConnectivityService so that it reports connection status correctly. bug: 2128595
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user