Merge "Switch the NetworkInfo.mIsAvailable default" into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f393e4910b
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user