Merge "[CS] Support "instant failure" from factories"

This commit is contained in:
Chalard Jean
2019-03-12 12:04:46 +00:00
committed by Gerrit Code Review
3 changed files with 99 additions and 12 deletions

View File

@@ -3286,9 +3286,9 @@ public class ConnectivityManager {
/**
* Called if no network is found in the timeout time specified in
* {@link #requestNetwork(NetworkRequest, NetworkCallback, int)} call. This callback is not
* called for the version of {@link #requestNetwork(NetworkRequest, NetworkCallback)}
* without timeout. When this callback is invoked the associated
* {@link #requestNetwork(NetworkRequest, NetworkCallback, int)} call or if the
* requested network request cannot be fulfilled (whether or not a timeout was
* specified). When this callback is invoked the associated
* {@link NetworkRequest} will have already been removed and released, as if
* {@link #unregisterNetworkCallback(NetworkCallback)} had been called.
*/