am 850270d5: am 26b7ff91: am f393e491: Merge "Switch the NetworkInfo.mIsAvailable default" into lmp-dev
* commit '850270d5aa1753f7ca6e4fa009a288d10dd526c6': Switch the NetworkInfo.mIsAvailable default
This commit is contained in:
@@ -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