am f393e491: Merge "Switch the NetworkInfo.mIsAvailable default" into lmp-dev

* commit 'f393e4910b42b2c9fd4dd6f970455649e00902e5':
  Switch the NetworkInfo.mIsAvailable default
This commit is contained in:
Robert Greenwalt
2014-10-03 23:53:29 +00:00
committed by Android Git Automerger

View File

@@ -4231,6 +4231,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
NetworkInfo result = new NetworkInfo(
networkType, 0, ConnectivityManager.getNetworkTypeName(networkType), "");
result.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, null, null);
result.setIsAvailable(true);
return result;
}
}